[Mono-dev] DLL -> System.BadImageFormatException

IJM fpxstudio at gmail.com
Sun Nov 28 14:29:21 EST 2010


Hello, I'm new to Mono and of course I have a problem.
I made a small "dll Hello World" program that is calling a void function
from dll.
I can compile it from cmd ("mcs HelloWorld.cs"), after that i run it thro
Mono and it works ("mono HelloWorld.exe"). 
But once i run it from Windows ("HelloWorld.cs"), i get this error:
System.BadImageFormatException: An attempt was made to load a program with
an incorrect format. 

Thanks
-- 
View this message in context: http://mono.1490590.n4.nabble.com/DLL-System-BadImageFormatException-tp3062679p3062679.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list