Quote:
Originally posted by moremonks
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.
|
1) First of all you can't "fetch" a constructor from a class. The only way to make a constructor work is to instantiate an instance of that class: "SomeClass a;" or "SomeClass* a = new SomeClass;"
2) Learn the very basics of dll programming first. You will learn how functions and object are exposed (exported) and imported.
Then you will know now to deal with your dll perfectly

.
- Val -