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
Need help on rollover buttons in flash in Flash CS4 and AS 3
Get ckeditor textarea value with jquery
PC faxing error
Stop links from updating after they have begun to update?
Clear Exchange 2010 transaction logs without taking backup
How can I get a Buy Now url for PayPal rather than the input button described to use?
VB.NET Setup Installing App Files Without Asking What Folder to Install
EtherChannel on Cisco 2960 switch intermittent dropped packet
Outdoor cisco 1300 AP
How can I create a signature capture in iPhone SDK?