[Mono-devel-list] Seemless Executibles?

Jackson Harper jackson at ximian.com
Fri Jun 18 23:26:45 EDT 2004

On Fri, 2004-06-18 at 20:12, Jonathan Pryor wrote:

> I know, and that's true for every Windows OS *except* Windows XP.  Alas,
> I can't find a reference, but early in the Mono project (~June 2002)
> mcs+mono-generated programs would properly execute under XP, but would
> generate errors ("not a win32 program") on Windows 2000.  IIRC, the
> reason for this was XP could tell from the program header that it was a
> .NET program and would immediately use .NET.  Windows 2000 had no such
> knowledge, and used the "trick" you described.  Since the mcs-generated
> programs were broken, the trick failed under Windows 2000, resulting in
> an incompatibility between mcs+mono and .NET.  This has been fixed. :-)

 From Serge Lidin's book regarding the COMIMAGE_FLAGS_ILONLY flag in the
CLR header:

"Because common language runtime-aware operating systems (such as
Windows XP) ignore the startup stub..." 

I know there is another resource on this but I really can't remember it
right now.


More information about the Mono-devel-list mailing list