Has anyone any luck with catching the sysNotifyDBDirtyEvent Notification?
I'm trying to monitor a database of another application and get notified every
time the database changes. Is this possible without having to periodically
poll the database's status?
Thanks!
---- Some of my code --
------ Registering for the Notificaion ----
// Should I be using my own creatorID with the Notification
// Or the one of the database I'm trying to monitor
if (0 != SysCurAppDatabase(&cardNo, &dbID))
return 1; // shouldn't ever fail, but just in case.
// Register for the DB Dirty Event on the Call Log
SysNotifyRegister(cardNo, dbID, sysNotifyDBDirtyEvent, NULL,
sysNotifyNormalPriority, 0);
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/