With the commercial CLR, a managed EXE is treated by Windows as a
native-code EXE which has an import to mscoree.dll's CorEXEMain, which
is the function that loads the CLR and invokes managed main.

For the SSCLI, we needed a way to bypass Windows attempt to load the
managed EXE and the commercial mscoree.dll.  That's what clix.exe does
on windows:  it is a native-code EXE which loads the managed EXE into
memory as a blob of data, the loads the SSCLI's sscoree.dll and invokes
its CorEXEMain.  There is no equivalent of clix.exe for the commercial
CLR, since Windows can load the EXE and the CLR directly.

On Unix machines, clix is an executable file in whatever format the host
OS supports (usually ELF).  It is capable of loading the managed EXE
even though its format is Windows PE/COFF.

Barry
This posting is provided "AS IS" with no warranties, and confers no
rights. 

-----Original Message-----
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[EMAIL PROTECTED] On Behalf Of SUBSCRIBE
DOTNET-ROTOR Memomana
Sent: Monday, August 16, 2004 9:58 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] CLR vs. SSCLI

Hi,

>From looking at the Task Manager, I notice that running a HelloWorld
program in the commercial CLR
> HelloWorld.exe
creates one new process (i.e. HelloWorld.exe), whereas running it in the
SSCLI
>clix HelloWorld.exe
creates one process (i.e. clix.exe).

For the latter case, why is there only one process (i.e. clix)? Where is
the HelloWorld process?

Moreover, is there any 'clix'-like command in the commercial CLR to run
a process? I mean that something like:
> clix-for-the-clr HelloWorld

Thank you beforehand.


Memomana

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com ASP.NET
courses you may be interested in:

Guerrilla ASP.NET
15 March 2004, in Boston, MA
17 May 2004 in Torrance, CA
7 June 2004, London, UK

http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
ASP.NET courses you may be interested in:

Guerrilla ASP.NET
15 March 2004, in Boston, MA
17 May 2004 in Torrance, CA
7 June 2004, London, UK

http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to