[Mono-list] Re: interesting discussion regarding managed dynamic libraries

Gregory Bowyer gbowyer@fastmail.co.uk
Thu, 16 Dec 2004 12:20:23 +0000


Pieter Breed wrote:
>>This is already supported at the IL level.  Google for "Inverse
>>P/Invoke", or see:
> 
> http://www.blong.com/Conferences/BorCon2004/Interop1/Win32AndDotNetInterop.htm#InversePInvoke
> 
> This is a very nice link, thank you. Since our solutions run on Win32
> anyway, I might convince my manager to let me write such an utility as
> is described here ;-)
> 
> 
>>As Ian MacLean already mentioned, this solution isn't portable as it
>>requires that the native OS linker use PE libraries.
> 
> 
> I am afraid I do not really understand what you mean. What does PE
> have to do with this? AFAIK PE is the format into which windows
> executable files get compiled? IOW - Will one not be able to do the
> same IL modification using mono's diss-assembler and re-assembler?
> 
> p!
> 
Isn't this what was being talked about in Miguels blog here
http://primates.ximian.com/~miguel/archive/2004/Dec-13.html