Solved

Using DLL's questions...

Posted on 2000-03-14
3
132 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
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

821 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