|
-
Jan 30th, 2001, 02:38 AM
#1
Thread Starter
Addicted Member
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>
-
Jan 30th, 2001, 01:12 PM
#2
Monday Morning Lunatic
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 refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 30th, 2001, 08:48 PM
#3
Thread Starter
Addicted Member
I've already done the #import directive...
But I don't think that's the problem...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|