• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

Call DLL from VB in Delphi

How I Can call DLL (Form VB) in Delphi?
and now i use import Type  Libraly but i found problem  Class not register while click run program
0
smallwor
Asked:
smallwor
  • 2
1 Solution
 
intheCommented:
dunno bout the dll and for 10 points it coule be a while before anyone takes time to answer tat one ..

for the registering problem use regsvr32.exe in delphi bin directory ..

0
 
florisbCommented:
One thing to start with is to copy regsvr32.exe (regsrv32.exe) in your sendto directory. A simple right mouse click and you can register your dll.

Otherwise you could download a registrytool, search and you'll find.

Or maybe register the dll from the VB compiler.

Floris.
0
 
smallworAuthor Commented:
thank for your response  but
Do  I  use call DLL (create from VB) in Delphi as same as call DLL (create from Delphi)?  
if yes ... How I do?
0
 
florisbCommented:
yes you call in the same way.

First one thing: do you want to call some functions in the dll, or do you want to load it?

If it's a dll of a COM object, you should import it, or view it in the type library editor. The idl-code could be handy to.

what kind of dll is it? You could also send it to me and I'll make example code.

Floris.
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now