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
Mapping a network drive in VB.NET or accessing a protected network path
I need to change the color of a DataGridView scrollbar in C# WinForms
Firebird AutoID VB.net code
check_directory_files
Windows XP does not see other computers on the workgroup
Sonicwall VPN with SBS 2008 Radius
SQL 2005 Formatting help for Flat File
Roaming Profiles in Windows 7 Pro and SBS 2008
Automatically do a release build
How can you search e-mail within Outlook 2010 and not use the index?