Hi everybody,

Is there a way for an application to be aware it is about to be deleted, and
make it execute some custom cleanup code just before deletion?

I was thinking about trapping a system call, but didn't find a
"SysAppDelete" to trap. I suppose i can trap DmDeleteDatabase, check that
it's my app that is being deleted, but i'm not sure on what will happen when
i will call the regular DMDeleteDatabase from a code just about to be
deleted!

Perhaps is there a special launch code sent to apps just before deletion?

Any help will be greatly appreciated!

Thanks
jp



Reply via email to