Using Win32 functions in Visual FoxPro Image Gallery
Error Handling
..msdn
Beep
FatalAppExit
FlashWindow
FlashWindowEx
FormatMessage
GetErrorMode
GetLastError
MessageBeep
SetErrorMode
SetLastError
Code examples:
Setting the last-error code for the FoxPro
SetLastError
    Add comment     W32 Constants      Translate this page
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:
Setting the last-error code for the FoxPro
Declaration:
VOID SetLastError(
  DWORD dwErrCode   // per-thread error code
);
FoxPro declaration:
DECLARE SetLastError IN kernel32 INTEGER dwErrCode
Parameters:
dwErrCode
[in] Specifies the last-error code for the thread
Return value:
This function does not return a value
Word Index links for the SetLastError :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-21 12:00:00
Modified: 2001-11-26 16:02:37
Visited in last 7 days: 15
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.166.199.178)
6 sec.Function: 'IcmpCreateFile'
11 sec.Function: 'CryptGetHashParam'
17 sec.Function: 'UrlGetPart'
22 sec.Function: 'EnumProcessModules'
27 sec.Function: 'GetKeyboardLayout'
33 sec.Function: 'BitBlt'
39 sec.Function: 'GetAclInformation'
45 sec.Function: 'MAPIReadMail'
50 sec.Function: 'AdjustTokenPrivileges'
55 sec.Function: 'DeviceIoControl'
Google
Advertise here!