Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unexpected Shutdown
Message
De
31/03/2005 15:14:13
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
31/03/2005 14:04:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01000422
Message ID:
01000446
Vues:
22
>If a system is shutdown while running, say restarted,shutdown by the user, or maybe by a power outage tables,etc. aren't properly updated by VFP. In my case, I'm storing user login/logout information (or trying to).My
>question is:
> Does anyone know of an available API that I could use so I could have the
>application do it's thing before shutting down if it had a call from the O/S during an O/S shutdown or restart? I know under current versions of Windows O/Ss that the O/S shuts down any running applications first. Of course this wouldn't work in the case of a power outage but could be very helpful in all other cases where the O/S is telling the application to shutdown.

SYS(2340) may be useful.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform