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/

Reply via email to