I have a class in a dll, which creates a thread for it. The functions that are exported from the dll should call the member functions of an object of the class. How would I make this happen?
I tried putting a global variable of the class in the .cpp file of the dll, and then make the exported functions call the member functions of that object, but with no use.
This is in Visual studio 2010 C++, and the dll is explicitly linked.