How about On shutdown?
>Hi all,
>
>I am running a VFP8 executable as a windows service, but I cannot find a way to trap the service shutdown. I want to add some code to tidy up data and files before the executable is closed.
>
>My executable is based on a custom class. I've tried the destroy() event, the on shutdown command, but neither of these seem to fire when the service is stopped.
>
>I am aware of the dart service software, but I can't afford to go down that route.
>
>Any help would be most welcome!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement