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

This happens after the Main form is initialized, made active, and 
drawn to and appears to be fine.

Here's the event loop--nothing weird.

{
        EvtGetEvent ( &event, evtWaitForever );
        if (! SysHandleEvent ( &event))
                if (! MenuHandleEvent ( 0, &event, &error ))
                        if (! AppHandleEvent ( &event ))
                                FrmDispatchEvent ( &event );
} while ( event.eType != appStopEvent );

Any ideas would be appreciated. Thanks.

Regards,
Steve Mann
-- 
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461              805.784.9462 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com

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