Thanks... I remember reading in the documentation that it even states there
is a lot of confusion regarding the database ID, but I was under the
assumption they were referring to a database that your application accesses.
I did not know that an application has anything more than your creator ID.

Thanks again..
-Drew

"Daniel Seifert" <[EMAIL PROTECTED]> wrote in message
news:106654@palm-dev-forum...
>
> Am Fre, 2002-12-27 um 17.52 schrieb DT:
>
> Hi,
>
> > SysNotifyRegister(0, appFileCreator, sysNotifyLateWakeupEvent, NULL,
> > sysNotifyNormalPriority, NULL);
> >
> > Anyone know what I am missing?
>
> SysNotifyRegister takes the following values as the first two
> parameters:
>
> 1. card number of the app (you assume a 0 which is usually correct,
>    but it could be something else in some cases!)
> 2. the database ID which is NOT your creator ID
>
> Use SysCurrAppDatabase to get the card number and database ID of your
> application and call SysNotifyRegister like this:
>
>         UInt16 cardNo;
>         LocalID dbID;
>         Err err;
>
>         SysCurAppDatabase(&cardNo, &dbID);
>         err = SysNotifyRegister(cardNo, dbID, sysNotifyLateWakeupEvent, 0,
sysNotifyNormalPriority, 0);
>
> Read the PalmOS API documentation, available at http://www.palmos.com,
> for more details.
> --
> Daniel Seifert <[EMAIL PROTECTED]>
>
>
>



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

Reply via email to