 |
| Setting the last-error code for the FoxPro |
User rating: 0/10 (0 votes) | | |
|
 |
 |
 |
DECLARE INTEGER GetLastError IN kernel32
DECLARE SetLastError IN kernel32 INTEGER dwErrCode
* setting 54=ERROR_NETWORK_BUSY: the network is busy
= SetLastError (54)
? GetLastError() && testing the result
|
 |
User rating: 0/10 (0 votes) | | | 214 bytes Created: 2001-07-21 12:00:00 Modified: 2001-09-28 16:45:18 Visits in 7 days: 43 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| My comment: |
 |
| The SetlastError 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 |
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|