Using Win32 functions in Visual FoxPro Image Gallery
Dynamic-Link Library
Code examples:
Retrieving a handle to DLL and address of an exported function in it
    Add comment     W32 Constants      Translate this page
Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).
Code examples:
Retrieving a handle to DLL and address of an exported function in it
FARPROC GetProcAddress(
  HMODULE hModule,    // handle to DLL module
  LPCSTR lpProcName   // function name
FoxPro declaration:
DECLARE INTEGER GetProcAddress IN kernel32; 
    INTEGER hModule,; 
    STRING lpProcName
[in] Handle to the DLL module that contains the function or variable.

[in] Pointer to a null-terminated string containing the function or variable name, or the function"s ordinal value. If this parameter is an ordinal value, it must be in the low-order word; the high-order word must be zero.
Return value:
If the function succeeds, the return value is the address of the exported function or variable.
Word Index links for the GetProcAddress :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2001-08-03 12:00:00
Modified: 2001-11-26 16:02:57
Visited in last 7 days: 39
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 (
16 sec.Function: 'GetIfEntry'
33 sec.Function: 'UuidToString'
48 sec.Function: 'HeapLock'
1.1 min.Function: 'GdipCreateFont'
1.37 min.
Function group: 'HTTP Functions (WinHTTP)'
1.7 min.Function: 'CeCreateFile'
1.97 min.Function: 'GetWorldTransform'
2.28 min.Function: 'waveOutGetErrorText'
2.58 min.Function: 'CoCreateGuid'
2.92 min.Function: 'GetPrinter'
Advertise here!