AlmSetAlarm() works fine for me. I just followed the sample code
on p. 158 of the Programmer's Companion:
static void SetTimeOfNextAlarm (ULong alarmTime, DWord ref)
{
UInt cardNo;
LocalID dbID;
DmSearchStateType searchInfo;
DmGetNextDatabaseByTypeCreator (true, &searchInfo,
sysFileTApplication, sysFileCDatebook, true, &cardNo, &dbID);
AlmSetAlarm (cardNo, dbID, ref, alarmTime, true);
}
Regards
horace
----- Original Message -----
From: Silvia Brunet <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 1999 Sep 16 Thu 03:01pm
Subject: AlmSetAlarm
> I have been researching about this api system function call
> It seems that every single person that has ever tried to work
> with it, fails. Either their program crashes or the application
> never gets the proper launch code.
>
> Could somebody at Palm take note and explain what is wrong
> with this api call or what is the correct use and implementation
>
> Thanks
>
>