Solved

Using DLL's questions...

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now