?
Solved

500pts: Replacing a dll in my application?

Posted on 2006-11-24
2
Medium Priority
?
175 Views
Last Modified: 2010-04-16
Hi there,

This is probably a stupid question but i wanted to double check... i have an application that is already compiled and distributed and i have just built a new DLL...

Can i distribute the dll only. Nothing in the program has changed but some classes in the dll have... Nothing will break the code .. it was internal changes but the dll is referenced in other DLL's that are part of the program...

THe dll resides in the apllication's directory... I have just replaced it and it seems to work... but i can't tell if its using the new dll or ¿???

Thanks in advance

Ian
0
Comment
Question by:ianinspain
[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
2 Comments
 
LVL 29

Accepted Solution

by:
Nightman earned 2000 total points
ID: 18008195
Yes, you can  - although you already knew that ;)
To ensure that it uses the new dll, restart the application (make sure you have a backup of the old one in case it all goes horribly wrong).
What I usually do is have a help menu function that can query the assembly versions and display them. This way I can be 100% sure.
0
 

Author Comment

by:ianinspain
ID: 18008207
Yes it was a stupid question.... i know... i was a little nervous about have to recompile against the dll

Thanks! You have put my mind at rest..
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

764 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