Hey,

i use the notificationManager to get informed about "sysNotifyLateWakeupEvent".
First my app crashed on running on OS 2 ... then i added the question for the OS and 
only run my app if OS is 3.5 or higher. But how can i know if i could register for 
sysNotifyLateWakeupEvent without asking for the ROM-version (i only look for OS 3.5 
because i know from 3.5 on the registration works in all cases ...)

Thank you
Sebastian

---

case sysAppLaunchCmdSystemReset:
        // See if we're on ROM version 3.5 or later.
        FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romVersion);
        if (romVersion >= 0x03503000)
        {
                error = SysNotifyRegister (0, DmFindDatabase(0,"SyncAll") , 
sysNotifyLateWakeupEvent, NULL, sysNotifyNormalPriority, NULL);
                p=SndDoCmd(NULL,&zound,0);
        }



--

There are 10 kinds of people in this world: 
those who understand binary code and those who do not.


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

Reply via email to