-
August 9th, 2002, 08:53 AM
#1
c++ objects in VB ?
Hi !
I wrote a .dll in C++ and sucessfully implement the .dll in VB. But i´m tired of declare all the functions again in VB.
Is it possible to access a C++ Class thru a .dll directly, like a VB Class ?
Best regards
Markus
-
August 9th, 2002, 09:12 AM
#2
You could create another DLL in VB that acts a wrapper class for all your C functions...
-
August 9th, 2002, 11:25 AM
#3
It's my understanding (this is 2nd hand knowledge) that C++ classes cannot be used directly in VB, just functions.
-
August 12th, 2002, 02:23 AM
#4
wrapper class ?
At first : thanks to all replys !
A wrapper class seems to be a possible solution. But how can I implement this without declaring every function in the VB DLL ?
Thank you
Best regards
Markus
-
August 12th, 2002, 08:48 AM
#5
You can't, but once the DLL is created you won't have to declare them again in any applications that use the DLL.
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
|