Dynamically loading C++ DLL's on the fly...
I want to be able to compile a C++ DLL so another program can load it without having to close and reopen.
Is it possible?
Thanks.
Short answer, yes. Applications do this all the time. Check out the MSDN documentation for the LoadLibrary function.
Hi Enlighten
(You may know this already just I felt like it might help future people who end up googling :-))
What you normally do is do issue a LoadLibrary call and then use the functions that are "exported" from that particular DLL.
After importing the "exported" functions, you use that function using its particular signature.
(You may know this already just I felt like it might help future people who end up googling :-))
What you normally do is do issue a LoadLibrary call and then use the functions that are "exported" from that particular DLL.
After importing the "exported" functions, you use that function using its particular signature.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement