Re: shut down problem

2005-05-05 Thread Scott Erickson
Hey guys, Turns out my problem was a combanation of a few things, mainly unfreed chucks and event que problems. Its working fine now. Thanks for the help. -- Scott Erickson Software Development Team, FB-4, Inc. [EMAIL PROTECTED] "Scott Erickson" <[EMAIL PROTECTED]> wrote in message news

Re: shut down problem

2005-05-04 Thread Ton van Overbeek
On 2005-05-04, Scott Erickson <[EMAIL PROTECTED]> wrote: > Henk, > Could this be the reason... I have a struct to hold my app settings. I > make one declaration of that to be global. In appstart i allocate memory > for it with memptrnew and a temporary memprt. then i use in in many > func

Re: shut down problem

2005-05-04 Thread Chris Tutty
From: "Scott Erickson" <[EMAIL PROTECTED]> > functions with no problems. then in appstop i try to free the memory with > MemPtrFree(currentSettings); yet the simulator tells me i have an unfreed > chunk (same as the value of the pointer to the variable), and the device > softresets at this point.

Re: shut down problem

2005-05-04 Thread Scott Erickson
Henk, Could this be the reason... I have a struct to hold my app settings. I make one declaration of that to be global. In appstart i allocate memory for it with memptrnew and a temporary memprt. then i use in in many functions with no problems. then in appstop i try to free the memory w

Re: shut down problem

2005-05-04 Thread Henk Jonas
Scott Erickson wrote: Hi, Befor today my app was running pretty smooth. I did some work to it, and now when ever i try to exit the app with the home button, i get a soft restart. in the debugger it seems to make it past the AppStop() function without errors, then after leaving pilotmain, i

Re: shut down problem

2005-05-04 Thread Scott Erickson
sorry for another BTW, on the device, after i run it once, and hit home and get the soft reset, the app does a soft reset everytime i try to load it again. -- Scott Erickson Software Development Team, FB-4, Inc. [EMAIL PROTECTED] "Scott Erickson" <[EMAIL PROTECTED]> wrote in message news:[EM

Re: shut down problem

2005-05-04 Thread Scott Erickson
BTW, once i hit ok on the error in the debugger, i get an error on the sim that says unfreed chunk. It says the user ID and the location. -- Scott Erickson Software Development Team, FB-4, Inc. [EMAIL PROTECTED] "Scott Erickson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > H

shut down problem

2005-05-04 Thread Scott Erickson
Hi, Befor today my app was running pretty smooth. I did some work to it, and now when ever i try to exit the app with the home button, i get a soft restart. in the debugger it seems to make it past the AppStop() function without errors, then after leaving pilotmain, it jumps to assembly co