To create notification, do not copy function to Feature memory.
Just reopen application database with the dmModeLeaveOpen flag.
Lock code resource 1 using DmGetResource & MemHandleLock
This will really be a second lock, and will prevent the resource from being 
unlocked when application exits.
Do not unlock it or close database when exiting application.
Now just pass a pointer to the function (not the resource) when setting the 
notification. 
Lionscribe


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to