Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using VB Active X DLL from Delphi 5

Status
Not open for further replies.

newora

Programmer
Aug 19, 2003
133
0
0
GB
Hi There,

I wonder if someone could please help me out. I have developed an Active X DLL, in VB6 to perform a database update. Is it possible for a DELPHI 5 aplication to use this DLL and call it's class methods. If so could someone please give a quick code outline for me i.e. how you would create the class object in Delphi and also any operations required in the Delphi IDE.

Thank you very much
 
1. Register your VB DLL, type RegSvr32 <dll>
2. In Delphi, go to Project | Type import Library, select the vb dll and create unit.
3. Define the classes in delphi and you can start calling the method.

Cheers!
 
Thank you for that - actually managed to wotk it out myself a couple of weeks agi, but forgot to update the question.

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top