Hello. In MainFormHandleEvent, I am calling a function that calls
'WinDrawChars' when a button is clicked:
func_that_calls_WDC();
This works just fine, drawing in the correct place. Then, if I put the call
to the function that calls WDC in a while loop:
while(1)
{
func_that_calls_WDC();
}
The chars drawn show up in a completely different place. They are about 20
down, and 60 to the left, or so. It is the same different place each time.
func_that_calls_WDC just uses constants, so nothing funny is going on there.
Any ideas? This is a really simple program that only has one form, so I
don't know how this is messing up.
Thanks.
And the other question; I have a device communicating on the serial port to
the palm. It sends characters at 10hz. Using a terminal program I can
clearly see it is transmitting, but when I call SerReceiveCheck and
SerReceive10, there are never any characters available.
Thanks a lot.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/