Solved

VB6 DLLs in Dellphi

Posted on 2007-04-09
3
200 Views
Last Modified: 2013-11-23
I made a DLL in VB6 to use in a delphi project.  It seems that when I make a change to the DLL in VB and recompile, I must also re-import the type library in the Delphi project or it won't work.  Am I doing something wrong?  I thought the point of DLLs was so that you would only have to recompile the DLL if it was changed.  Is there a way around this?
0
Comment
Question by:fbk2000
  • 2
3 Comments
 
LVL 5

Expert Comment

by:xr1140
ID: 18876211

here`s some info ... don`t mind the title, read the "Explicit Linking" paragraph http://www.drbob42.com/delphi/headconv.htm
0
 
LVL 21

Accepted Solution

by:
ziolko earned 500 total points
ID: 18877227
you must re-import type lib in delphi only if interfaces are changed on DLL side
if interfaces are the same and only implementation has changed, all you need
is swap DLL files

ziolko.
0
 
LVL 21

Expert Comment

by:ziolko
ID: 18877424
>xr1140
fbk2000 is talking about COM DLLs (VB by default creates COMs) this has nothing to do with loading "classic" libraries

ziolko.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ddeman not working in activex 3 103
Simple Delphi Question 9 90
how to send memory stream from ics Client To ics server ? 11 110
Tvertscrollbox like a whatsapp layout 5 27
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question