[Mono-list] Will mono apps not run on windows ???

Paolo Molaro lupus@ximian.com
Mon, 4 Mar 2002 20:05:58 +0100


On 03/02/02 Guenther Roith wrote:
> I tried to run hello.exe on w2k an got an error (This is not an valied Win32 executable). 
> May it be that this happens because mscoree.dll is not called?
> 
> This seems not to be a problem of the compiler because on windows mcs.exe 
> produces valid apps.

Currently CLR programs created with mcs on linux won't run directly in
windows for a couple of reasons:
1) there isn't the glue so that mint/mono (or mscoree itself) is called
automatically.
2) there are probably some fields in the PE header that are incorrectly
set, so windows doesn't recognise the program as valid.

Someone offered to fix 1, since I know nothing about how that works
in windows, but I haven't received patches yet. And if people have the 
time/skills to track down the second problem, that would be appreciated, 
too:-)

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better