>With the 3.5 black & white & color debug ROMs, I get the following in
>my main event loop when SysHandleEvent is called with a nilEvent:
>
>"App has just read directly from an unallocated chunk of memory."
>
>The stack trace (thanks Metrowerks for the new plugin!) shows the
>following calling sequence:
>
>SysHandleEvent, WinSetDrawWindows, WinValidateHandle


Without knowing exactly where in WinValidateHandle it is, my guess is that
it is an invalid bitmapP member of the window structure.  That's the only
pointer that WinValidateHandle follows, other than the window pointer
itself.

So, check to make sure you're not stomping on the bitmapP member of the
window structure.

-David Fedor
Palm Developer Support



-- 
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