At 09:12 PM 11/7/2005, you wrote:
Yes there is a reset when someone pulls the card and the program can no longer access the files it needs, so what you are describing is what I'm seeing. So back to the original question, I guess the answer is that if it is not deleted from system memory then I must assume that it is the result of the above, and I should delete it. So to delete a file from system memory what API do I use?
DmDeleteDatabase is the usual API... however, you'll have a hard time doing that from your program, as you'll be trying to delete yourself. You'll need some sort of helper application... however, you'll have to figure out from your app whether you were run off the card or run from main memory, which can be done based on launch codes, but gets complicated.
-- Ben Combee, Senior Software Engineer, Palm, 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/
