OK, I'm confused. Can anybody explain to me what I'm seeing or why I'm seeing it? Here's what I've been doing:
First, I created a small application (let's call it MyApp) that creates and uses a small database (let's call it MyDB). I run the app on POSE, shut it down, click the Home button, then click on the menu item App/Delete. The Delete form comes up and shows both MyApp and MyDB. I can then delete MyDB and restart MyApp. This is useful for testing the code that creates and initializes the db. So far, so good.
Then I decided to get fancy and write a shared library (let's call it MyLib) for MyApp. I put all of the code related to MyDB into MyLib, so MyApp now has no idea that MyDB even exists. MyApp just calls functions in MyLib, and MyLib does all the management of MyDB internally. Somewhat to my surprise, I actually go this working. :-) The database persists between app invocations, and everything seems OK. The only thing that's puzzling me is what I see on the Delete form once I shut down the app. As above, I see MyApp, but I don't see MyDB. Why not? Is it because it was created inside a shared lib? Am I doing something wrong?
The likely issue is that your database has a different creator code than your application. The "Delete" dialog will only show databases that don't share creator IDs with installed applications. When you added your shared library, it had a common creator code to your database, so its now hidden.
Use a tool like Filez to see all the databases on your device, and try to get all the creator codes straight.
BTW, I'm using CodeWarrior v9, and POSE crashes about every 5 minutes, and CodeWarrior itself crashes about every 15 minutes. This is really getting annoying. I just looked at Metrowork's website for an update or patch, but nothing's there. I'm running on Win 2K, SP2. Has anybody else been experiencing this?
There is a 9.1 update, but it doesn't address any IDE issues. For some reason I don't understand, there's no CodeWarrior for Palm OS V9 in the products listing on our download page right now, but if you search for all patches since the beginning of 2003, you'll find it.
POSE shouldn't crash. As for the CW IDE -- it is very stable on my machine, but I'm also using an IDE about three months newer than what shipped in V9. This will be part of the 9.2 patch that we hope to get out in early May. Is there anything you're doing when the IDE crashes? Have you tried disabling the code completion engine? Lots of useful tips on my site, http://www.palmoswerks.com/, especially from around late December/January 2003.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
