View Single Post
Old 06-02-2003, 12:22 PM   #1 (permalink)
moremonks
Registered User
 
Join Date: Jun 2003
Posts: 9
moremonks is on a distinguished road
DLLs and Classes

I've been rummaging through a certain DLL, using dependency walker to find out what functions it's exporting. They're C++ functions, so I know (or think I do) what the parameters are. An example of one function I'd enjoy using is:

void CJobDataBase::GetJobName(char *)

Being relatively new to this whole business of messing with DLLs, and having been away from C++ for a while, I'm having a bit of trouble with the function being a method of a class. Is there any way to get a class definition from the DLL? (there are nothing but functions to my eyes listed in depends) Can I create an empty class called CJobDataBase, fetch it's constructor from the DLL and somehow initialize the class, and then start rocking out with more functions? Or am I just out of luck? Thanks in advance for any help.
moremonks is offline   Reply With Quote