N
NickP
Hi there,
I am trying to do a reflection only load of an assembly, within a new
appdomain, within a macro.
i.e.
create new app domain
instantiate class
run class
class does reflection only load of assembly
process info obtained from assembly
dispose of close
dispose of app domain
Unfortunately I am having difficulties instantiating an instance of the
class that does the reflection only load. The class is within "MyMacros".
So how would I load this class?
Dim pADnDomain As System.AppDomain =
System.AppDomain.CreateDomain("NewDomain")
Dim pOHeHandle As System.Runtime.Remoting.ObjectHandle =
pADnDomain.CreateInstance(<what assembly goes here?>,
"MyMacros.AssemblyBuildWorker")
I have no idea what assembly the class resides in, if it is within the
MyMacros namespace. Any ideas?
Nick.
I am trying to do a reflection only load of an assembly, within a new
appdomain, within a macro.
i.e.
create new app domain
instantiate class
run class
class does reflection only load of assembly
process info obtained from assembly
dispose of close
dispose of app domain
Unfortunately I am having difficulties instantiating an instance of the
class that does the reflection only load. The class is within "MyMacros".
So how would I load this class?
Dim pADnDomain As System.AppDomain =
System.AppDomain.CreateDomain("NewDomain")
Dim pOHeHandle As System.Runtime.Remoting.ObjectHandle =
pADnDomain.CreateInstance(<what assembly goes here?>,
"MyMacros.AssemblyBuildWorker")
I have no idea what assembly the class resides in, if it is within the
MyMacros namespace. Any ideas?
Nick.