Using Win32 functions in Visual FoxPro Image Gallery
Error Handling
..msdn
Beep
FatalAppExit
FlashWindow
FlashWindowEx
FormatMessage
GetErrorMode
GetLastError
MessageBeep
SetErrorMode
SetLastError
Code examples:
Terminating VFP application using the FatalAppExit
FatalAppExit
..msdn    Add comment     W32 Constants      Translate this page
The FatalAppExit function displays a message box and terminates the application when the message box is closed.
Code examples:
Terminating VFP application using the FatalAppExit
Declaration:
VOID FatalAppExit(
  UINT uAction,          // reserved
  LPCTSTR lpMessageText  // display string
);
FoxPro declaration:
DECLARE FatalAppExit IN kernel32;
    INTEGER uAction,;
    STRING  lpMessageText
Parameters:
uAction
Reserved; must be zero.

lpMessageText
[in] Pointer to a null-terminated string that is displayed in the message box.
Return value:
This function does not return a value.
My comment:
Even the name of this function I feel some evil in it. Hardly a reason exists to use it. In the succession of the good old QUIT, ExitProcess, TerminateProcess, PostQuitMessage etc. this function can be only the last resort.

I recollect an old joke about a computer frozen so deep that it took to reboot a power station.
Word Index links for the FatalAppExit :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-20 18:28:16
Modified: 2001-12-21 19:35:54
Visited in last 7 days: 12
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.161.73.123)
9 sec.Function: 'GdipDrawImageRectI'
17 sec.Function: 'DefWindowProc'
25 sec.Function: 'GetMappedFileName'
33 sec.Function: 'GetLocaleInfo'
41 sec.Function: 'DllInstall'
48 sec.Function: 'GdipIsStyleAvailable'
56 sec.Function: 'EnumPrintProcessorDatatypes'
1.07 min.Function: 'GetIpAddrTable'
1.2 min.Function: 'GdipGetPageUnit'
1.35 min.Function: 'FindVolumeClose'
Google
Advertise here!