At 03:22 PM 5/28/2005, you wrote:
I use the above VFS function, display the records I read, use
MemHandleFree to release the handle returned after each iteration through
the records of the database and then exit the routine with no problem.
Then I navigate to other screens in my program with no problem. The
problem only occurs when I leave my program. I get
"c:\dvp\projects\totalrecall5.4\arm\core\emul68k\src\load68k.c, Line:2513,
Failed loading app 25".
Is this related to the VFS manager not releasing the allocated memory? Is
this a bug with VFS in the simulator or with the simulated SD card? Any ideas?
I don't think it's a VFS issue. This error is reported by a debug build of
Palm OS 5.4 if your application exits with a non-zero exit code. Make sure
you have a "return errNone;" or "return 0;" at the end of your PilotMain
function.
-- Ben Combee, Senior Software Engineer, palmOne, Inc.
"Combee on Palm OS" weblog: http://palmos.combee.net/
Developer Forum Archives: http://news.palmos.com/read/all_forums/
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/