?
Solved

500pts: Replacing a dll in my application?

Posted on 2006-11-24
2
Medium Priority
?
185 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
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Loops Section Overview
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

750 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