In my app, right at the beginning of AppStart() I do WinDrawChars() to
display a nasty 'please wait' message.  This works fine.

However, for debugging I've added some pixels that invert when data is sent
or recieved on a socket (using WinInvertPixel() ). This gets done at some
point after the WinDrawChars() - in fact it's the first thing to be done in
the app's event loop.  However, this (on POSE using a debug ROM) complains
about reading from some memory - probably because of drawing ops before
setting a draw window.  Well now I check to see if there's a draw window
before doing my WinInvertPixel() - things work again.

However... I'm left with not understanding why WinDrawChars() works fine
before there's a draw window - but WinInvertPixel() doesn't?  I'm sure if I
read around I could find out - but I dont' have the time right now - and I
was hoping someone who knew about this sort of stuff could fill me in.


Thanks in advance,
Russell


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to