Using Win32 functions in Visual FoxPro Image Gallery
Dynamic-Link Library
..msdn
FreeLibrary
GetModuleFileName
GetModuleHandle
GetProcAddress
LoadLibrary
LoadLibraryEx
Code examples:
Retrieving a handle to DLL and address of an exported function in it
GetProcAddress
    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
Declaration:
FARPROC GetProcAddress(
  HMODULE hModule,    // handle to DLL module
  LPCSTR lpProcName   // function name
);
FoxPro declaration:
DECLARE INTEGER GetProcAddress IN kernel32; 
    INTEGER hModule,; 
    STRING lpProcName
Parameters:
hModule
[in] Handle to the DLL module that contains the function or variable.

lpProcName
[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  
FreeTranslation.com 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: 20
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.91.171.137)
16 sec.Function: 'GetVersionEx'
30 sec.Function: 'DrawDibDraw'
45 sec.Function: 'GetEnvironmentVariable'
58 sec.Function: 'CreateFile'
1.22 min.Function: 'UnhookWindowsHookEx'
1.47 min.Function: 'sendto'
1.72 min.Function: 'IsClipboardFormatAvailable'
1.93 min.Function: 'CeRegSetValueEx'
2.18 min.Function: 'GdipRotateMatrix'
2.43 min.Function: 'CM_Connect_Machine'
Google
Advertise here!