troubleshooting Question

Getting a handle to already loaded DLL

Avatar of UsmanQ
UsmanQ asked on
C++Editors IDEs
13 Comments1 Solution2313 ViewsLast Modified:
How can I get a handle to a DLL which is already loaded in memory. What I mean is that I know that a DLL is loaded in memory. I want to explicitly link to that library. I tried this by calling loadlibrary but this function loads another copy of library in my process space. What I want to do is to get a handle to a DLL which is already loaded in memory and execute a function from that DLL. I am using Visual C++ 6.0 and I have a COM DLL. Dont worry about the class in my CoM Dll becuase the function which I want to call in the DLL is not part of COM class.
Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros