ReflectionOnlyLoad in Macro
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
- From: "NickP" <a@xxxxx>
- Date: Thu, 1 Mar 2007 11:11:15 -0000
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.
.
Relevant Pages
- Re: Revisiting the Power Explanation
... real world load while asserting that it still exists. ... - Generator with 450 Ohm output impedance ... 450 Watts is being dissipated in the generator resistor ... a voltage reflection coefficient of -0.714 so the load ... (rec.radio.amateur.antenna) - Re: OT: baseband video splitters
... arbitrary mismatch provided that the sender is perfectly matched... ... the single reflection in the former case has been totally suppressed. ... non-reactive load equal to the characteristic impedance of the cable. ... The forward wave now has an amplitude of 0.5 V & 10 mA but since the ... (uk.tech.digital-tv) - Re: Revisiting the Power Explanation
... Here I read the subject - reflection. ... voltages and the interference between the forward and reflected currents. ... waves do not mix in a linear space. ... No load, then no interference. ... (rec.radio.amateur.antenna) - Re: Reflection Performance Question.
... I am creating an Object Relational Mapping framework using reflection with ... performance difference is negligable and use the Reflection method. ... extras like Object Caching, Lazy Load, ... ... > Second question. ... (microsoft.public.dotnet.framework.performance) - Re: Mismatched Zo Connectors
... carry energy or not depending upon its future fate? ... Energy at the speed of light has no time dimension and as ... at the load is 0.707 making the power reflection ... the load is reflected. ... (rec.radio.amateur.antenna) |
|