Using Win32 functions in Visual FoxPro Image Gallery
Error Handling
Code examples:
Setting the last-error code for the FoxPro
    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
VOID SetLastError(
  DWORD dwErrCode   // per-thread error code
FoxPro declaration:
DECLARE SetLastError IN kernel32 INTEGER 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 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: 38
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
21 sec.Function: 'CryptGetHashParam'
43 sec.Function: 'IcmpCreateFile'
1.05 min.Function: 'GdipSetMatrixElements'
1.4 min.Function: 'GetMapMode'
1.73 min.Function: 'ExtractIcon'
2.15 min.Function: 'waveOutWrite'
2.52 min.Function: 'LoadIcon'
2.88 min.Function: 'GetSystemDefaultLangID'
3.22 min.
Function group: 'System Information'
3.63 min.Function: 'RegisterRawInputDevices'
Advertise here!