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
error when calling php/xml file in browser
Having problems getting my VOIP setup working?
Exchange recovery
Column border style problem
This search script is presenting the option for Next 10 when there aren't any results. What do I need to add to not show when there aren't results?
troubles getting BETWEEN logic to work
Trying to connect SSIS packages to Oracle database
Internet Usage Tool
Any ideas how to create your own loadbalancer using linux?
RHEL command to see how much ram and hard drive in the box