 |
 |
Error Handling ..msdn Add comment |
 |
|
Beep
|
|
Generates simple tones on the speaker. The function is synchronous; it does not return control to its caller until the sound finishes. |
|
 |
 |
 |
|
FatalAppExit
|
|
The FatalAppExit function displays a message box and terminates the application when the message box is closed. |
|
 |
 |
 |
|
FlashWindow
|
|
Flashes the specified window one time. It does not change the active state of the window |
|
 |
 |
 |
|
FlashWindowEx
|
|
The FlashWindowEx function flashes the specified window. It does not change the active state of the window. |
|
 |
 |
 |
|
FormatMessage
|
|
The FormatMessage function formats a message string. It can be used to obtain error message strings for the system error codes returned by GetLastError. |
|
 |
 |
 |
|
GetErrorMode
|
|
Retrieves the error mode for the current process. |
|
 |
 |
 |
|
GetLastError
|
|
The GetLastError function retrieves the calling thread"s last-error code value. |
|
 |
 |
 |
|
MessageBeep
|
|
Plays a waveform sound. The waveform sound for each sound type is identified by an entry in the [sounds] section of the registry |
|
 |
 |
 |
|
SetErrorMode
|
|
Controls whether the system will handle the specified types of serious errors, or whether the process will handle them. |
|
 |
 |
 |
|
SetLastError
|
|
Sets the last-error code for the calling thread. This function is intended primarily for dynamic-link libraries (DLL). Calling this function after an error occurs lets the DLL emulate the behavior of the Win32 API.
If you are defining an error code for your application, be sure that your error code does not conflict with any system-defined error codes.
|
|
 |
 |
 |
 |
| Code examples: |
 |
|
|
 |
|
 |
 |
User Contributed Notes: |
 |
 |
 |
 |
 |
 | balu@datalinks-india.com | 2005-06-19 04:06:03 |  |
 |
 |
 | please help to getrid of following
1. ctrl+esc
2. when dbf is not in use, in programe scatter memvar file window opens user can delete valid files.
3. when print files directed to Printer use !type>prn command window opens
4. window keys.
5. right click key.
6. when icon clicked more one 2 again application opens in different window. |  |
 |
 |
 |
 |
 |
|