Hey all,

I vaguely remember this being discussed here before but couldn't find it
back on escribe...

I'd like to add some code to my app - that should run on a T3 - to test
wether the AppSlipRotate and StatusBarLib databases are already
installed. The problem is, when I call

cur->iDBID = DmFindDatabase(0, cur->iDatabaseName);

on a freshly hard-reset T3, I find that DmFindDatabase returns a
non-zero value, indicating they are already installed. Yet when I run
the SampleCollapse app, I can't 'open' and 'close' the DIA. When I used
an earlier version of the code of my installation-app -in which I didn't
test for the existence of the prcs in the internal storage, but simply
installed them (w. VFSImportDatabaseFromFile)- (and did a soft reset
afterwards) both files _were_ properly installed.

Now, I have two questions:
1. Why does DmFindDatabase return a non-zero value before I installed
the databases and
2. What is the best alternative way to test wether both databases are
present in the internal storage?

Any help would be greatly appreciated.

Thx & regards,

Caspar

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to