?
Solved

VB6 DLLs in Dellphi

Posted on 2007-04-09
3
Medium Priority
?
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

765 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