> 1) Is is possible to programmatically find out the creator ID of the running
> program? I have a linked in library that maintains a unique database of
> information for each application it's linked into, and I'd like to avoid the
> programmer user having to explicitly set the creator ID at startup.

  i just wrote this code :))

---
UInt16    appCard;
LocalID   appdbID;
UInt32    appCr8r;

// whats the current app - get the creator?
SysCurAppDatabase(&appCard, &appdbID);
DmDatabaseInfo(appCard, appdbID, NULL, NULL, NULL, NULL,
               NULL, NULL, NULL, NULL, NULL, NULL, &appCr8r);
---

  what you could do as well, is since you are calling the library from
  one of your own applications.. is store the creator ID in a feature
  before you initialize the library :)

  might be a bit easier.

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to