On 10/06/08 Markus Johnsson wrote: > I've been experimenting with x86 assembly coding and execution from within > C#, and was happy to get some code (see below) to work. However, when I > tried it on Windows and .NET it failed with an AccessViolationException. > Should I expect it to fail on mono too in a future release? Is there a > better way to do this (i.e. executing x86 code without using a C > library)? Using mono the code below compiles and runs fine on both Windows > (mono 2.0) and Linux (mono svn).
Apart from the bugs Rodrigo found in your asm code, heap memory is not guaranteed to be executable. lupus -- ----------------------------------------------------------------- [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list