> DmResourceInfo gives me the DmResType (typedef UInt32)... would this be the > creator code, and would the DmResID (tyepdef UInt16) returned be the > preference's ID number?
Correct. The first two bytes of the resource are the version number. The remainder is the "preference record", ie. the data that the app wanted saved. Have a look at the prefs for the built-in apps. You can see the source code for these apps, and you can inspect the preference DB, so you can verify the format yourself. I'm not sure whether this format could change in the future. Most of the Prefs APIs hide the format, but you can open the prefs DB using a public API. Very large (ie. negative) IDs are used by the Exchange Manager for its registry. The latest docs specify that apps should stick to <= 0x7FFF, leaving the rest for the OS. - Danny -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
