Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exit Windows
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00138616
Message ID:
00138817
Views:
10
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform