 |
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: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-20 18:28:16 | | Modified: | 2001-12-21 19:35:54 | Visited in last 7 days: 25 |