SD Card disappears on Treo680 and Treo650 when opening a db in the
sysAppLaunchCmdSystemReset part of my program
I have verified that not global variables are used, and the db exist before
reset.
The program works fine on Centro and PalmTX
This is what it works in Centro and PalmTX
dbID = DmFindDatabase(cardNo, appDBName);
if (dbID==0) return 1;
dbP = DmOpenDatabase(cardNo, dbID, dmModeReadOnly);
...
Any idea why this happen?
The followings give "bad" results in any device
// RESET LOOP
if (errNone != DmGetNextDatabaseByTypeCreator(true, &searchState,
appDBType,appFileCreator, true, &cardNo, &dbID))
{
....
}
NOT GOOD EITHER
dbP = DmOpenDatabaseByTypeCreator(appDBType, appFileCreator, dmModeReadOnly);
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/