Solved

VB6 DLLs in Dellphi

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi component that can load a DLL in design time? 8 53
delphi exception 7 63
Base1 Encode/Decode 3 68
Firemonkey DbLookupComboBox equivalent ? 2 37
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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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 …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

867 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

15 Experts available now in Live!

Get 1:1 Help Now