Discussion Board
-
alarm problem (series 60)
2002-11-21, 14:20
#1
Registered User
Hi,
I can get an alarm to trigger at a certain time, but instead of
the specified alarm text, the dialog contains the following:
Display may be te
Out of memory.
I get the same results with Session, Clock and Agenda alarms.
Here is the code i am using to set the alarm:
RAlarmServer almServer;
almServer.Connect();
TAlarmMessage alarmText=_L("hello world"
;
TTime dueTime;
dueTime.UniversalTime();
dueTime += TTimeIntervalSeconds(5);
TRequestStatus status;
TPtrC sound=_L(""
;
almServer.SetAgendaAlarm(time, alarmText, sound, dueTime, RAlarmServer::ESessionTypeTimed);
almServer.Close();
Cheers,
Justin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules