I have finally figured out what was wrong.  The alarm was being set
(AlmSetAlarm) using my database creator and type, instead it should be the
APPLICATION creator and type. Normally the creator will be the same, but the
type will be different.  I used DmGetNextDatabaseByTypeCreator to find the
card number and ID of the database for AlmSetAlarm().  When I used
"sysFileTApplication" as the type, the alarm will come on even when my
application is not active. It works!!
Thanks for the help Nick.
Brett

Reply via email to