I don't see any obvious problems with this code.
I have three questions;
1. When you set up the alarm, are you using the correct dbID?
2. Are you sure you have the RuntimeInformationAlert resource in your project?
3. Are m_wLaunchFlags and m_wCommand being set/passed correctly?

On 6/10/06, Saravanan <[EMAIL PROTECTED]> wrote:
Thanks for reply

my code is here

Err CSampleApp::InitInstance()
{
if (m_wLaunchFlags & sysAppLaunchFlagNewGlobals)
{
        return CPalmApp::InitInstance();
}
else if (m_wCommand == sysAppLaunchCmdAlarmTriggered)
{
        FrmCustomAlert(RuntimeInformationAlert,"Reset.","","");
}
else if (m_wCommand == sysAppLaunchCmdDisplayAlarm)
{
        FrmCustomAlert(RuntimeInformationAlert,"Reset.","","");
}
else if (m_wCommand == sysAppLaunchCmdSystemReset)
{
        FrmCustomAlert(RuntimeInformationAlert,"Reset.","","");
}
}

may i know what is problem with this code.....

the same code is working in another application.

TIA
Saravanan



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



--
yisdersomenimororsisasisdenderisorsis?
Jeff Loucks

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

Reply via email to