Delphi and Kylix

Moderators: pritaeas
Number of threads: 7264
Number of posts: 19073

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Calling VB6 DLL from Delphi Posted by jrputnam on 19 May 2009 at 7:11 AM
I am newer to Delphi, and I am writing a Delphi app that must use a set of DLLs that were written in VB6. These DLLs have been registered. I haven't been able to find a way to do this. I tried using regasm to create a tlb, but I got an error with that as well. Any help is appreciated. Thank you.
Report
Re: Calling VB6 DLL from Delphi Posted by patilabhijeetj on 28 May 2009 at 4:19 AM
Hi,
I don't exactly remember but I did same thing three years back for a client.
Try importing the DLL with Import Library wizard in Delphi IDE.
This will create a pascal file which will have all the classs and methods in it.
Then include "that" unit in your code and use it.

Cheers!
Report
Re: Calling VB6 DLL from Delphi Posted by jrputnam on 28 May 2009 at 4:53 AM
Cool, thanks. That worked!
Report
Re: Calling VB6 DLL from Delphi Posted by patilabhijeetj on 11 Jun 2009 at 9:25 AM

Cheers!!!


Abhijeet Patil
patilabhijeetj at gmail



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.