Hi, On Thu, Aug 11, 2011 at 5:13 PM, JayStop <[email protected]> wrote: > I'm pretty new to Cecil - but just as intrigued by it ;). To make it > fast: I know that Mono (and therefore Cecil) doesn't support Mixed > (Managed+Native) C++ assemblies.
Mono, the runtime, and Cecil, the library, are two different things. Mono on Unix doesn't support executing mixed mode assemblies. Cecil doesn't know how to write a mixed mode assemblies, but knows how to read them. > However, this "doesn't support" seems > to be referring only to saving the assembly for later execution for > Cecil (as inspection and modification stuff seems to work fine) and at > http://www.mail-archive.com/[email protected]/msg00306.html > it was stated that "You can read an assembly, modify it, or create one > from scratch, then load it in the runtime for execution". This applies only to managed assemblies. > Does that mean that I can bypass the not-being-able-to-save-problem by > simply executing the modified assembly from within my application? That doesn't really make sense. To execute an assembly for which you have a Cecil representation, you have to write the assembly, either in memory or in a file, so you can ask the runtime to load it. Jb -- -- mono-cecil
