Calling VB6 DLL from Delphi

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.

Comments

  • 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!
  • Cool, thanks. That worked!

  • Cheers!!!


    Abhijeet Patil
    patilabhijeetj at gmail
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories