Using Win32 functions in Visual FoxPro Image Gallery
Dynamic-Link Library
..msdn
FreeLibrary
GetModuleFileName
GetModuleHandle
GetProcAddress
LoadLibrary
LoadLibraryEx
Code examples:
Loading a string resource from an executable file
Using LoadLibrary
LoadLibrary
..msdn    Add comment     W32 Constants      Translate this page
The LoadLibrary function maps the specified executable module into the address space of the calling process.

Code examples:
Loading a string resource from an executable file
Using LoadLibrary
Declaration:
 
HMODULE LoadLibrary(
  LPCTSTR lpFileName   // file name of module
);
 
FoxPro declaration:
 
DECLARE INTEGER LoadLibrary IN kernel32;
    STRING lpLibFileName
 
Parameters:
lpFileName
[in] Pointer to a null-terminated string that names the executable module (either a .dll or .exe file).
Return value:
If the function succeeds, the return value is a handle to the module
My comment:
Once you get a return from this function, you probably know how to use it
Word Index links for the LoadLibrary :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-12 12:00:00
Modified: 2003-05-15 16:31:36
Visited in last 7 days: 36
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (50.17.109.248)
1.27 hrs.Example: 'Converting command-line string to a set of Unicode argument strings (WinNT only)'
 Example: 'Converting image file to .ICO file'
 Solution: 'ContextMenu ActiveX Control'
3.23 hrs.Example: 'Displaying system dialog that selects a folder'
Language: 'C++'
6.27 hrs.Example: 'How to activate Windows Calculator'
 Example: 'Creating a window using CreateWindowEx function'
 Function: 'RegSaveKey'
Function group: 'Registry'
8.02 hrs.Example: 'Accessing examples contained in this reference from a VFP application'
 Example: 'Retrieving Window Class information for the VFP window'
 Function: 'CreateWaitableTimer'
Google
Advertise here!