Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Using DLL's questions...

Posted on 2000-03-14
3
Medium Priority
?
136 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 400 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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

886 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