-
Goodday everybody...
I have a problem here which I hope you all can help me...
I'm writing an EXE program in VC++ and using a DLL created in VB...
Now I already import the DLL into my program...
The problem is I can't declare an object for the Class created in the DLL as the compiler gives me an error saying the class I'm using is an Abstract Class, that's mean I can't declare an object for that class directly, right?
What I have to do is make a derived class for that base class. But when I try to declare an object for that derived class, I still have this same problem.
So, what should I do to solve this problem?
Your help will be most appreciated... and It's quite urgent too...
Thanks...
<Correct me if I'm wrong>
-
VB classes are not direct-compatible with C++ classes.
Try the #import directive - that should do it, you only need the DLL for that, and it must be available at compile-time: the compiler will make all the necessary files for you :)
-
I've already done the #import directive...
But I don't think that's the problem...