[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] Re: [Bug #2948] Loading assemblies from memory
From: |
Rhys Weatherley |
Subject: |
Re: [Pnet-developers] Re: [Bug #2948] Loading assemblies from memory |
Date: |
Sat, 29 Mar 2003 07:10:13 +1000 |
User-agent: |
KMail/1.4.3 |
On Saturday 29 March 2003 12:00 am, Gopal V wrote:
> Hmm... there you touch a weak spot ... you'll have to devise some new
> internal call to load stuff from memory .. Reflection API and Assembly.Load
> assume a filename .
I discovered last night that the .NET Framework SDK has a number of "Load"
methods in "AppDomain", including one that takes a "byte[]" buffer containing
the image. We can hook in through that.
Question for Chris: is DGEE loading the assembly from C# or C code? (It may
be eventually calling the entry method from C using ILExecThreadCall, but I'm
interested in where the actual load happens).
Cheers,
Rhys.