> QRY-1 : Is this creatorID and CreatorID of the database the same ?
The creator ID in the preferences is the id of the application.
The creator ID of your database should be the same, but it's up to you
to pass the id to DmCreateDatabase() or DmOpenDatabaseByTypeCreator()
routines.
> QRY-2 : If this creatorID is a string, how & where it is converted to UInt as
>desired by DmOpenDatabaseByTypeCreator() system call ?
It's not a string, it a 32 bit integer. Note the difference in the quotes:
UInt32 id = 'ABCD';
Char *text = "ABCD";
> QRY-3 : In the Code Warrior sample application named "Address", the
>DmOpenDatabaseByTypeCreator() system call uses "sysFileCAddress" as database
>creatorID. From where they have arrived at this "sysFileCAddress"?
It's in the System header file "System/SystemResources.h".
> For our application, where do we get to create THIS parameter?
Normally you should define it in one of your header files.
#define myAppID 'ABCD'
> QRY-1 : What exactly does this DB type mean ?
Everything on the Palm is a DB, even Programs are!
the DBtype shows the kind of DB, 'appl' are DBs which are programs.
'DATA' is commonly used for databases (of any kind), so should you.
Some programs use another own DB type to indicate a particular
structure. (Can I register DB Types with Palm?)
> QRY-2 : In Code Warrior IDE, we have specified the database type as 'DATA' as used
>in many of their sample
> applications. Is this converted to an int along the way ?If yes, how is that done?
Just like creator IDs.
Regards,
Holger Klawitter
--
Holger Klawitter +49 (0)251 484 0637
[EMAIL PROTECTED] http://www.klawitter.de/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html