Strange problem with PalmOS 3.3 (but not with 3.5)

2008-05-29 Thread Tjeng-Bo Lie
In my event loop, when calling EvtGetEvents (on a PenDownEvent - when I tap on a dynamic button in a dynamic form,) I get the Just read directly from unallocated chunk of memory error inside WinDisplayToWindowPt(), RctPtInRectangle(), and WindowChange() routines when running on PalmOS 3.3 (both

Is there a way to dynamically create a form resource?

2008-05-29 Thread Tjeng-Bo Lie
I ran into the limitation of the Dynamic UI, i.e. there's no dynamic table, menu, etc. To get around that, can one dynamically create a form resource (complete with the table, menu, etc.) and then load the form from the freshly created dynamic resource? If so, does the resource has to be created

Re: How to programmatically update one's own .prc (through TCP/IP)

2008-05-29 Thread Tjeng-Bo Lie
When there is a newer version of the client, the server will send it down. On the WinCE version, this was done with sending a helper app, transferring execution to the helper app, then sending the client to the helper app, and the helper app will then transfer execution back to the updated client

How to programmatically update one's own .prc (through TCP/IP)

2008-05-29 Thread Tjeng-Bo Lie
I have a client program that communicates with the server through TCP/IP socket. From time to time, the client needs to be refreshed with a new/updated .prc file. How do I go about doing this programmatically from within said client program? Is Exchange Manager the right direction to go? TIA,

Do I need to do a MemPtrNew in C++?

2008-05-29 Thread Tjeng-Bo Lie
Do I need to do a MemPtrNew or MemHandleNew when instantiating a new object in C++? -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

How to get NetLibSelect to support sysFileDescStdIn with POSE

2008-05-29 Thread Tjeng-Bo Lie
I'm trying to intercept user input as well as socket in my program, and I'm using POSE 3.0a6 with Palm Vx 3.3 ROM on a WinNT 4.0 workstation to debug it. I know that NetLibSelect won't work with sysFileDescStdIn when using rederected NetLib calls. My question is: Is there a step-by-step

Re: Event Queue Full

2008-05-28 Thread Tjeng-Bo Lie
On a somewhat related note, is there a way to catch this error BEFORE the queue is filled up? I'd like to know when the queue is about to be filled up and flush (well, not really flush, but to process) the queue before posting anything new in it. TIA, =-Tjeng-Bo- Tjeng-Bo Lie wrote in message

Event Queue Full

2008-05-28 Thread Tjeng-Bo Lie
I'm writing a client-server application on the Palm, and use the user event quite extensively whenever I'm getting a packet from the server (sort of like the winsock call back routine...) When I'm getting a large TCP packet from the server, I queue them up in the event queue, and process them in

Strange problem with PalmOS 3.3 (but not with 3.5)

2000-09-29 Thread Tjeng-Bo Lie
In my event loop, when calling EvtGetEvents (on a PenDownEvent - when I tap on a dynamic button in a dynamic form,) I get the "Just read directly from unallocated chunk of memory" error inside WinDisplayToWindowPt(), RctPtInRectangle(), and WindowChange() routines when running on PalmOS 3.3 (both

Event Queue Full

2000-09-13 Thread Tjeng-Bo Lie
I'm writing a client-server application on the Palm, and use the user event quite extensively whenever I'm getting a packet from the server (sort of like the winsock call back routine...) When I'm getting a large TCP packet from the server, I queue them up in the event queue, and process them in

Re: Event Queue Full

2000-09-13 Thread Tjeng-Bo Lie
On a somewhat related note, is there a way to catch this error BEFORE the queue is filled up? I'd like to know when the queue is about to be filled up and flush (well, not really flush, but to process) the queue before posting anything new in it. TIA, =-Tjeng-Bo- Tjeng-Bo Lie wrote in message

Is there a way to dynamically create a form resource?

2000-08-07 Thread Tjeng-Bo Lie
I ran into the limitation of the Dynamic UI, i.e. there's no dynamic table, menu, etc. To get around that, can one dynamically create a form resource (complete with the table, menu, etc.) and then load the form from the freshly created dynamic resource? If so, does the resource has to be

How to programmatically update one's own .prc (through TCP/IP)

2000-08-03 Thread Tjeng-Bo Lie
I have a client program that communicates with the server through TCP/IP socket. From time to time, the client needs to be refreshed with a new/updated .prc file. How do I go about doing this programmatically from within said client program? Is Exchange Manager the right direction to go? TIA,

Re: How to programmatically update one's own .prc (through TCP/IP)

2000-08-03 Thread Tjeng-Bo Lie
When there is a newer version of the client, the server will send it down. On the WinCE version, this was done with sending a helper app, transferring execution to the helper app, then sending the client to the helper app, and the helper app will then transfer execution back to the updated client

Do I need to do a MemPtrNew in C++?

2000-07-14 Thread Tjeng-Bo Lie
Do I need to do a MemPtrNew or MemHandleNew when instantiating a new object in C++? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

How to get NetLibSelect to support sysFileDescStdIn with POSE

2000-07-12 Thread Tjeng-Bo Lie
I'm trying to intercept user input as well as socket in my program, and I'm using POSE 3.0a6 with Palm Vx 3.3 ROM on a WinNT 4.0 workstation to debug it. I know that NetLibSelect won't work with sysFileDescStdIn when using rederected NetLib calls. My question is: Is there a step-by-step