• Advertisement
Sign in to follow this  

Dynamically loading C++ DLL's on the fly...

This topic is 3084 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
Short answer, yes. Applications do this all the time. Check out the MSDN documentation for the LoadLibrary function.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Hey, thanks for all your help.

I found this.
http://www.codeguru.com/cpp/cpp/cpp_mfc/tutorials/article.php/c9855

It was everything I expected.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement