Solved

Using DLL's questions...

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

777 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