Solved

Running different .dll versions for an application.

Posted on 2004-09-29
5
196 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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

911 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

20 Experts available now in Live!

Get 1:1 Help Now