I'm getting error messages on roms >= 3.0 and < 3.5 when I Debug|Kill the
app from CW after calling ScrDisplayMode (the errors don't happen until I
Kill, even though the app is already terminated).
Here is my entire (tiny) app:
DWord PilotMain(Word cmd, Ptr cmdPBP, Word launchFlags)
{
DWord dwDesiredScreenDepth=2;
ScrDisplayMode(scrDisplayModeSet, NULL, NULL, &dwDesiredScreenDepth,
NULL);
ScrDisplayMode(scrDisplayModeSetToDefaults, NULL, NULL, NULL, NULL);
return 0;
}
Running palmos30-en-dbg.rom, I get the message "<appname> reports
WindowNew.c Line 3084, NULL window." On palmos31-en-v-dbg.rom, I get
"<appname> has just read directly from low memory." I don't get errors with
newer roms, such as palmos33-en-v-dbg.rom or palmos35-dr4-en-colordbg.rom.
Any ideas? The larger code (that actually does something useful) works fine
(I do check for the supported depth, etc), but I get these nasty messages
when I Kill.
Thanks!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/