> We've been using a WinSaveBits / WinRestoreBits 
> combination to store a small area of screen that's
> overwritten temporarily.  Fine and dandy up to this
> point but we'e just found a sequence of actions
> that produces the error:
> 
> Window68K.c, Line:92, No shadow window found
> 
> What seems to happen, in spite of all my defensive 
> coding efforts, is that the window handle returned
> gets released or corrupted somewhere between the
> save and the restore.
> 
OK, problem solved, move along please...

My defensive coding wasn't as tight as I thought and
there was a sequence that could call restore without
then setting the stored handle to NULL.  The error
was being raised when restore was called the second
time on the same handle.

Chris Tutty


------------------------------------------------
This message was sent using InSPire Net Webmail.
http://www.inspire.net.nz



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

Reply via email to