[Mono-list] [OT] mscoree.dll

Jeroen Frijters jeroen@sumatra.nl
Fri, 20 Dec 2002 13:08:08 +0100


Very much off-topic, but I just wanted to correct you a little bit. The sole
job of MSCOREE.DLL is to find the appropriate version of the CLR, load that
DLL and jump to it. It does not contain the JIT. It is an essential part of
Microsoft's side-by-side architecture.

BTW, COR stands for Common Object Runtime.

Regards,
Jeroen

> -----Original Message-----
> From: mono-list-admin@ximian.com 
> [mailto:mono-list-admin@ximian.com] On Behalf Of Andrew Birkett
> Sent: Friday, December 20, 2002 12:54
> To: Lynde Gilliam
> Cc: mono-list
> Subject: Re: [Mono-list] mscoree.dll
> 
> 
> On Wed, 2002-12-18 at 20:21, Lynde Gilliam wrote:
> > This site came up when I searched for "mscoree.dll".
> 
> mscoree.dll contains Microsoft's JIT engine for .net bytecode
> (presumably "MicroSoft CORe Execution Engine").  If you build a .exe
> using csc, it contains a dependency on mscoree.dll and the executable
> code in your .exe contains a single jump instruction into that dll to
> start the execution of IL code.  
> 
> You need this mscoree.dll to run .net programs, unless you have mono
> installed in which case you could use 'mono' or 'mint' (the jit and
> interpreter respectively) instead.  Notice that mono's jit isn't in a
> dll, so we can't do the funky bootstrapping step to get from 
> the .exe to
> the jit.  Instead, you run .net programs by "mono foo.exe".  
> 
> [ Your question isn't very relevant to this list, since it's 
> specific to
> Microsoft's implementation of .NET.  But, since you found 
> mono-list with
> your search, no doubt others will too, so this answer can live in the
> archives for future use .. ]
> 
> Andrew
> 
> -- 
> - www.nobugs.org -
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>