Solved

Using DLL's questions...

Posted on 2000-03-14
3
134 Views
Last Modified: 2011-09-20
What should I be aware of when using DLL's, i.e When I make changes to a DLL, do I just overwrite the previous DLL, what then happens when a user is referecing that DLL, do I just tell them to delete that DLL and replace it with this new one I have just compiled?
What about registery entries, when I overwrite the previous version what happens to the registry entry? (If any)
0
Comment
Question by:homey_the_clown
[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
3 Comments
 
LVL 6

Expert Comment

by:Marine
ID: 2617970
You should unrgister the previouse version and register the new version.
0
 

Accepted Solution

by:
martingp earned 100 total points
ID: 2617998
Hi Homey

If you use activex dll's that is referenced in other projects you have to make sure that they are binary compatible (interface remains the same). If you change the interface a new GUID is assigned (written in the registry when you register it). That means that any applications that referenced the old dll will crash if they try to use the new dll. You set the compatibility options under Projects > Properties for.. > Component.
If you absolutely have to change the existing interface you must recompile all the components that reference the dll.
If the new version is binary compatible you dont have to register it again. If it's not binary compatible then you must unregister the old component and register the new one.

0
 

Author Comment

by:homey_the_clown
ID: 2618093
Thanks just what I needed to know!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month8 days, 20 hours left to enroll

615 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