Microsoft
Software
Hardware
Network
Question : Calling a DLL Function Dynamically
In my application I'm wanting to dynamically call DLLs based on information in an INI file. For example, the INI file might contain something like:
1:
extra_libs = extra_dll1.dll, extra_dll2.dll, extra_dll3.dll
The idea would be to load the defined DLLs and then call the run() method each of them has exported. I can easily parse the INI file, but how can my application load extra DLLs that are defined at runtime?
Thanks!
Dan
Answer : Calling a DLL Function Dynamically
With LoadLibrary.
HMODULE hLib = LoadLibrary(szDllName);
where szDllName is a string variable, the name of the dll.
http://msdn.microsoft.com/
en-us/libr
ary/ms6841
75(VS.85).
aspx
Random Solutions
Default PHP and If Statement Issue
exchange 2010 missing" server configuration"
out off office not working for one user
Sharepoint document saving
Pendrivelinux to install Ubuntu Server 10.x
CS0433 error when deploying ASP.NET app, type exists two asp.net temporary files
vb 6.0 version number
New record, if field is empty, msgbox
GFI Essentials 2010 Folder set up
Vmware Esxi 4.0 can't install Server 2008 R2 64bit