INFO: How to Restart Windows from Within FoxPro (110254)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft FoxPro for Windows 2.5
- Microsoft FoxPro for Windows 2.5a
- Microsoft FoxPro for Windows 2.5b
This article was previously published under Q110254 SUMMARY
You can restart Windows from inside a FoxPro for Windows application by
using the Windows API function ExitWindows(). With this function, you can restart Windows without rebooting the entire system, as explained below.
This code does not work under Windows 95, Windows 98 or Windows NT 4.0 because there is no ExitWindows entry point in USER32.EXE on Win32 Operating Systems.
REFERENCES
Visual C++ Help file
Modification Type: | Minor | Last Reviewed: | 3/3/2005 |
---|
Keywords: | kbcode kbinfo KB110254 |
---|
|