Re: DLL loading Question
- From: Hoop <jcollett@xxxxxxxxxxxx>
- Date: Wed, 12 Sep 2007 05:36:27 -0700
On Sep 11, 3:24 pm, "DaveP" <dvs_...@xxxxxxxxxxxxx> wrote:
any Examples anywhere that you may know of
doesn't SSiS do somthing like this with SSiS Packages
TIA
DaveP
"Nicholas Paldino [.NET/C# MVP]" <m...@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
messagenews:OOt5y6K9HHA.2752@xxxxxxxxxxxxxxxxxxxxxxx
But you can't unload the dll unless you unload the app domain which the
assembly was loaded in. This would mean that you have to create a new app
domain and run the code in that app domain.
--
- Nicholas Paldino [.NET/C# MVP]
- m...@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"David Yang" <David Y...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:25DC7C7A-DBC3-4A62-AE17-C14AEA42A6AA@xxxxxxxxxxxxxxxx
You can use assembly class to load the dll if the dll is an assembly.
"DaveP" wrote:
How can i dynamically load a Dll and unload said Dll
using c#
i have a Situation where i have many dlls that are client based and only
need to be loaded and code executed based on client ID.
for instance
i have a Service Running the gets Record sets for output file formating
based on client Requirements
and this service reads a dll to load and instantiate classes based on
clientID
so service would load the dll
execute Class Inside the dll , create output file
service unload dll
TIA
DaveP- Hide quoted text -
- Show quoted text -
Hi Dave,
I have done what I think you are trying to do using reflection. Your
app would then have to be aware of the dll's interface and then load
that at runtime.
Maybe this is not what you are looking for. Check out some plugin
examples at CodeProject.
Jeff
.
- Follow-Ups:
- Re: DLL loading Question
- From: DaveP
- Re: DLL loading Question
- References:
- DLL loading Question
- From: DaveP
- Re: DLL loading Question
- From: Nicholas Paldino [.NET/C# MVP]
- Re: DLL loading Question
- From: DaveP
- DLL loading Question
- Prev by Date: Re: Pattern Match
- Next by Date: How Implement IList Generic Interface
- Previous by thread: Re: DLL loading Question
- Next by thread: Re: DLL loading Question
- Index(es):
Relevant Pages
|