HOWTO: How to Quit Windows from Within a FoxPro Application
Article ID: 105046
Article Last Modified on 3/3/2005
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q105046
SUMMARY
You can quit Microsoft Windows from within an application written in
FoxPro by using the Windows Application Programming Interface (API)
through Foxtools.fll, a library file included with FoxPro.
This code does not work under Windows 95, Windows 98, and Windows NT 4.0 because there is no
ExitWindows entry point in User32.exe on Win32 Operating Systems.
REFERENCES
For more information about ExitWindows(), see the Microsoft Windows
Software Development Kit (SDK) "Programmer's Reference, Volume 2:
Functions" manual. It contains information about the return values for
ExitWindows() and their meanings.
Additional query words: VFoxWin FoxWin 2.50 2.50a 2.50b 2.60 2.60a exit windows
Keywords: kbhowto kbinterop kbprogramming KB105046