Hi Try this:
... SysNotifyBroadcast(NULL); DmSetDatabaseInfo(0, LocalDBID,szDBName,NULL, NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL); ... It's helped me. > I want to move a database from a memory card and a temporaly rename > the existing database on device in case of crash, i use this code : > > // get current db info and rename it > DmOpenDatabaseInfo(_dbP, &oDbID, 0, 0, &oCardNo, 0); > GamCloseDatabase(true); // internal function to close the currently ... ... ... > DmDeleteDatabase(oCardNo, oDbID); > } > GamOpenDatabase(); // open the new DB > > It seems that EvtGetEvent perform some DB integrity check > and cause the Free Handle error. > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
