Solved

VB6 DLLs in Dellphi

Posted on 2007-04-09
3
195 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now