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
exchange 2003 and ISA 2006 certificate renew - RPC-HTTPS not working
Install Ruby Gems through a Firewall?
How to connect to Oracle 11g as "SYS" from PB
Webrequest POST
PowerPoint 2007 Printing issues - shadows and text boxes
Sysprep service pack 3
Blackberry Enterprise Server - not sync contacts for one user?
Microsoft Virtual Environment - SQL Server 2005/SQL Server 2008
Exchange 2007 Certificate
Server Recommendation (File Server & Terminal Server)