Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exit Windows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00138616
Message ID:
00138817
Vues:
9
>>I dunno what you mean, but I just did an simple experiment. I opened the table in VFP and then did the shutdown of Windows via Start->Shutdown button. VFP has been shutdowned without any problem and the table has been closed properly during VFP shutdown.
>
>That's what I meant. :) Shutting down Windows (properly) is no different to a program (that's written correctly) than closing the program first, then shutting down Windows.
>
>> But I would repeat that it would be better to close the tables before issuing shutdown...
>
>There doesn't seem to be any reason for this.

Actually, there is if you VFP app doesn't respond to the shutdown message generated by ExitWindows(), after a time, Windows will call TerminateProcess(), which is a particularly messy shutdown.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform