But why can't POSE load it right? -- Luc Le Blanc
Jan Slodicka a �crit : > Readonly file. > In case DmDeleteDatabase fails with dmErrCantOpen, you should read DB > attribs, remove dmHdrAttrReadOnly and try again. (User confirmation may be > appropriate.) > Another similar problem is with the protected databases. > > Best regards, > Jan Slodicka > > ----- Original Message ----- > From: "Luc Le Blanc" <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum > To: "Palm Developer Forum" <[email protected]> > Sent: Friday, April 29, 2005 4:57 AM > Subject: DmOpenDatabase returns ErrCantOpen > > > A user sent me a PDB he created with my program some time ago but that > > he can't open anymore (although the database is found by > > SysCreateDataBaseList.). When I try to load it under POSE, the emulator > > reports a Can't open error, but the PDB nonetheless appears in the FileZ > > list view. Deleting it with FileZ and retrying eventually succeeds. Even > > when the PDB is finally loaded into POSE, it can still fail opening. I > > traced the problem: DmOpenDatabase returns 0x206 (dmErrCantOpen); my > > program then offers to delete it, but this fails too (how does FileZ do > > that?). Ideas? I put that 1.6 Kb PDB on: > > > > http://www3.sympatico.ca/leblanc.luc/fieux_2_cave.pdb > > > > > > -- > > Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
