On Mon, Oct 04, 1999 at 05:40:07PM +0200, Dan Hod wrote: > > This works OK: > > > > error = DmGetNextDatabaseByTypeCreator(TRUE, &stateInfo, MyDataBaseType, > > > MyCreatorID, FALSE, &cardNo, &dbID); > > well... > > I do not have the database's type & creator, I only have got the cardNo & > dbID. A dbID is basically a pointer. If the database has been moved (e.g. if the OS has compacted memory), the dbID is no longer valid. You should store some way to uniquely identify the DB, such as type+creator or name, if you want to maintain a reference to a DB over an extended period of time. -Ben -- Ben Darnell [EMAIL PROTECTED] http://www4.ncsu.edu/~bgdarnel/thoughtstream/
- How can I know if a database was deleted from the Palm de... Dan Hod
- Re: How can I know if a database was deleted from th... Holger Klawitter
- RE: How can I know if a database was deleted from th... Nick Hammond
- Re: How can I know if a database was deleted from th... Dan Hod
- Re: How can I know if a database was deleted from th... Dan Hod
- Re: How can I know if a database was deleted from th... David Fedor
- Re: How can I know if a database was deleted from th... Ben Darnell
- Re: How can I know if a database was deleted from th... Dan Hod
- Re: How can I know if a database was deleted from th... Jim Schram
- RE: How can I know if a database was deleted from th... Richard Hartman
- Re: How can I know if a database was deleted from th... Dan Hod
- Re: RE: How can I know if a database was deleted fro... Chris Faherty
- Re: RE: How can I know if a database was deleted fro... Chris Faherty
- Re: RE: How can I know if a database was deleted fro... Dan Hod
- RE: How can I know if a database was deleted from th... Richard Hartman
- RE: RE: How can I know if a database was deleted fro... Richard Hartman
