M
Microsoft
Hi all,
I have some application which dynamically loads a module as a DLL Assembly.
Both are written in C#.
I also would like to be able to dynamically unload this assembly (i.e. to
update the module with a newer version).
How can I do that ?
I used this code to load the module :
// create instance for module
Object obj = AppDomain.CurrentDomain.CreateInstanceAndUnwrap("Module.dll",
false, flags, null, null, null, null, null);
// check module interface
IKrisModule module = (IKrisModule) obj;
Thanks in advance,
Daniel
I have some application which dynamically loads a module as a DLL Assembly.
Both are written in C#.
I also would like to be able to dynamically unload this assembly (i.e. to
update the module with a newer version).
How can I do that ?
I used this code to load the module :
// create instance for module
Object obj = AppDomain.CurrentDomain.CreateInstanceAndUnwrap("Module.dll",
false, flags, null, null, null, null, null);
// check module interface
IKrisModule module = (IKrisModule) obj;
Thanks in advance,
Daniel