Mr. Malone, I am a Newbie here..and your tip about "PrefSetAppPreferences" saved my day-nope - my night!!! Thanks a lot!!!!!!!
Sumesh K. "Joe Malone" <[EMAIL PROTECTED]> wrote in message news:94584@palm-dev-forum... > > --- jimena <[EMAIL PROTECTED]> wrote: > > Why do I always get this fatal alert when I leave my application? > > > > MemoryMgr.c Line 4359, Free Handle > > > > Answer: Bad programming. (But don't worry about it, everyone makes > mistakes sometimes!) > > Every Memory Manager routine that might write to the data storage area > calls a routine to check the validity of the chunk handle before using > it. If that routine can't get a pointer to the chunk header, then it > generates this error. > > So, you should look at your code and see where you are writing stuff. > Since it happens when you leave your app, try looking at AppStop() -- > does it call PrefSetAppPreferences() by any chance? If so, is the > fourth argument a pointer or an unlocked handle? > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Finance - Get real-time stock quotes > http://finance.yahoo.com > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
