Hmmm, I'm glad we've got you around :) I would've never thought that a function that says "just put stuff back how it was please" would need input conditions :S
Thanks again Ben, you're a star. I can now debug my app without a reset trashing my db every time :D God, I'm rusty! PalmTree Development www.palmtreedev.com ----- Original Message ----- From: "Ben Combee" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, January 20, 2004 12:34 AM Subject: Re: development tool for making app. in Palm OS > At 06:23 PM 1/19/2004, PalmTree wrote: > >OK. Anyone shed any light on why calling this as the last thing done before > >returning a zero from my application would cause the 3.5 color emu rom to > >fall over moaning about window access ? I mean, I'm not telling it to use > >anything of mine as you can see....... > > > >This is driving me nuts! > > > >WinScreenMode(winScreenModeSetToDefaults, NULL, NULL,NULL, NULL); > > You are calling this when there is no draw window, since all forms have > been closed. Precede the WinScreenMode call with > > WinSetDrawWindow(WinGetDisplayWindow()); > > and you'll be OK. > > -- > Ben Combee <[EMAIL PROTECTED]> > CodeWarrior for Palm OS technical lead > Palm OS programming help @ www.palmoswerks.com > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
