Solved

Running different .dll versions for an application.

Posted on 2004-09-29
5
198 Views
Last Modified: 2010-05-18
Hi Experts,
In .NET, I would like to run two different versions of the same dll file. The first dll file should be able to support five users and the other dll file should be supporting after five users, both the dll files are loaded in the same system, how can we set this kind of functionality for an application.
What are the drawbacks,if any. Anygood article on these topics in the web do forward the link.
Your feedback is highly appreciated.
Thanks in Advance
Veeru.
0
Comment
Question by:veeru_kvr
5 Comments
 
LVL 3

Expert Comment

by:PodExpert
ID: 12179418
Hello,

I think it is impossible to use two versions of the same DLL at once. The only thing you can do is to rename one of the DLL's - then they'll behave as two different libraries.

What do you mean by supporting five users?

Regards.
P.
0
 

Author Comment

by:veeru_kvr
ID: 12187911
Hi,
It is possible but i have no idea regarding this, it is in .net.
One dll need to support the application upto 5users logging in and the other dll should get activated when the users logged in are more than 5 the other dll file should be activated.
0
 
LVL 6

Accepted Solution

by:
DominicCronin earned 125 total points
ID: 12261015
In dotnet the "equivalent" of a dll is an assembly. (Although strictly it is possible to make up an assembly consisting of several dlls) In order to load different assemblies programmatically based on some logic such as you describe, you can use System.Reflection.Assembly.Load

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemreflectionassemblyclasstopic.asp
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

856 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