ROM : 4.0v fulldbg

POSE : 3.1

The following code crashes, because I call it before drawing the first form
in my program.

===================

UInt32    newDepth;

newDepth = 4;

WinScreenMode(winScreenModeSet, NULL, NULL,&newDepth, NULL);

===================

I got around it by ensuring the Draw Window is correctly set using the
following call:

WinSetDrawWindow(WinGetFirstWindow());

Anyone see a problem with doing this??

Also, note that this only crashes a 4.0v (B&W) debug rom.  The M505 debug
rom works perfectly!

Regards,


Alan Ingleby
Systems Developer
ProfitLink Consulting Pty Ltd
309 Burwood Road
Hawthorn
Victoria 3122
Australia



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