Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent the application from getting killed?
Message
De
18/06/2002 10:02:03
 
 
À
18/06/2002 06:52:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00669625
Message ID:
00669714
Vues:
24
In VFP7 there is standard sys() function for this
SYS(2340) - NT Service Support
See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fox7help/html/lnlrfsys2340-ntservicesupport.asp

>While doing some critical log entries, I dont want the users to kill the application by "End Task" from Task Manager. With "ON SHUTDOWN", the maximum I can do is put up some dialog and inform the user not to kill the application. But still the users can go ahead and kill the task.
>Is there some API, which will work across all the platforms, and prevent the user from killing the application?

HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform