Mostapha Bouterfass wrote in message <24247@palm-dev-forum>...
>
>hi all,
>i want to know how can i define a type and Id for one resource in a PDB
>file??
>
>
Nope. Type & id are applied to the entire database, not on a per-resource
basis.
That said, you -could- create a database that had, as part of it's record
structure, type & id information. Consider the "prefs" databases. It's
one database (well, one for saved & one for unsaved) that store resouces
for a variety of apps, each under their own creator ID. But the prefs
databases
themselves have their own type & id -- the IDs of the apps "owning" any
given
preference record are really just data that the OS preferences API knows
what
to do with!
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/