CW8+Emulator
1 Install test.pdb to emulator
2 In application, calling the following codes

#define kCreator                'ErrD'
#define kDBType                 'DATA'

LocalID dbID = 0;
Err error = 0;
DmOpenRef gDB = 0;

dbID =DmFindDatabase(0,"test");
if (dbID != 0) /*find database*/
{
 gDB = DmOpenDatabaseByTypeCreator(kDBType, kCreator,
dmModeReadWrite);
}

3 dbID changes, but gDB is always 0. 

I think gDB is not zero,but why not open?

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

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

Reply via email to