[Mono-list] Binary problem
Wed, 19 Jun 2002 22:26:47 +0300
> This may as well not work: it's just a wild guess. I don't know why it
> would work on a system and not on the other. You could try attaching a
> debugger and try to poke inside the loading process.
XP has "CLI-aware" loader so mscoree::_CorExeMain stub is just ignored on that system.
At the same time there is a bug in Mono PE generation code, "start: jmp [start]" is generated instead of jmp [_CorExeMain].
To illustrate: after changing byte at 0x202 to 0x10 in Ajay's hello.exe it will run just fine on 2k and 9x systems.
There are still some problems with running MCS/mono generated executables under CE - under that system,
loader just enters infinite loop after launching mono-generated executable.
----- Original Message -----
From: "Paolo Molaro" <firstname.lastname@example.org>
To: "Mono Hackers List (E-mail)" <email@example.com>
Sent: Wednesday, June 19, 2002 7:28 PM
Subject: Re: [Mono-list] Binary problem