Database & .prc?

Postby mattmccarthy on Fri Feb 01, 2002 5:08 pm

So far, I have benefitted from an Australian (G'day!) and a Canadian (Go Team Canada Hockey!)...sweet!

When I make my .prc file in PDE, it only consists of the application. My database has to be resident on my PDA for the application to work. This makes 2 files that have to be resident on the PDA. Question: Can the .prc file include the database as well so when I distribute my application, I will only be distributing one file?

I can't wait to see which nationality answers next!
Posts: 13
Joined: Sat Jan 19, 2002 12:39 pm
Location: USA

Postby soinsg on Sat Feb 02, 2002 2:39 pm

My solution would be to use dbopen() to tell whether the DB exists or not. If it doesn't exist I would make it using some code in the main applet/prc. This would probably only work if the databse was made with PocketC in the first place, so bitmap databases/resources won't work in this solution.
Posts: 198
Joined: Thu May 17, 2001 4:26 pm

Return to PocketC for Palm OS KB

Who is online

Users browsing this forum: No registered users and 1 guest