Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Dll with functions in a class. How do I get access these functions for my c++ program?

$
0
0

To describe my scenario, I have a dll that contains the class CLS_WMApp which includes all of the functions that I need to use. I also do not have the source code so many resources that have said to create my own interface with virtual functions prove to not work.

i.e. - class CLS_WMApp :public MyInterface

I plan on linking explicitly but it can not retrieve the functions for the reason of there being a class within the dll. 

When I use LoadLibrary() it does return a handle, but when I call GetProcAddress() it gives me the error 126, which is "specified module could not be found"

Any suggestions on getting access to these functions is much appreciated!


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>