|
|
|
|
![]() ![]() |
Aug 29 2005, 09:39 AM
Post
#1
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 11 Joined: 8-June 05 From: Bad English Member No.: 5,975 myCENTs:93.92 |
I'm writting a large class hierarchy and want to put it on a dll. What must I do to be able to use the class definitions in the dll from a visual basic application?. I'm making the dll from Borland C++ Builder 6 Enterprise.
Thanks, Herenvardö |
|
|
|
Nov 3 2005, 05:24 PM
Post
#2
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 9 Joined: 3-November 05 Member No.: 9,422 |
Your best bet is to create an automation object instead of plain vanilla DLL. As using it in VB or any COM enabled environment is quite easy. Automation objects are just like COM objects only they also expose properties & events.
Start File->New->Other and choose ActiveX tab and click ActiveX Library. Go back to that ActiveX tab and click Automation Object. Make use of the Type Library Editor tool. Compile and have fun. Just make sure to use regsvr32 on the automation object before using it in VB as you have to add it to Project Dependacies list. Then using it is like using any COM objects in VB. Regards, Digital Technic. |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 23rd November 2008 - 05:03 PM |