Hallo,

try:

UInt16 card;
LocalID databaseId;

Err error = SysCurAppDatabase(&card, &databaseId);


Gruesse,
Michael Friedrich


"Eric Blanpied" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
>
> I'm another new-to-palm coder, looking for a bit of advice. Probably just
> the first bit...
>
> I need to register for the sleep request notification, and I'm wondering
> what the best way to get my app's cardNo and dbID for SysNotifyRegister.
>
> The only thing I've found so far is DmGetNextDatabaseByTypeCreator, but
that
> seems a bit generic for this purpose. Is there no more straightforward way
> to get this data?
>
> Thanks in advance.
>
> -e



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

Reply via email to