dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: [DotGNU]The Mingw32 ilrun seems to run


From: Simon Guindon
Subject: Re: FW: [DotGNU]The Mingw32 ilrun seems to run
Date: Mon, 2 Dec 2002 08:59:56 -0500

Why not implement it the way MS does with mscoree.dll and the method
_CorExeMain and when a win32 installer is used along with pnet, just simply
check if this dll already exists, if so, allow the user to choose if they
want pnet to handle managed executables, or leave it as is with MS framework
handling it.

If they choose pnet, then we overwrite the mscoree.dll, if not, we leave it.
To even further extend it, make a backup of mscoree.dll and have a toggle
app that allows you to switch it back and forth from pnet/.NET

Shouldn't be too difficult to do this.  I think the goal should be a very
easy deployment and setup for end users if they don't have the runtime,
click and run is important here I think.

Thats my 2 cents anyways lol.  I'm always an advocate for end user
friendliness as this is important for adoption if you want applications to
be run on your platform with every day users.

Take care,
Simon

----- Original Message -----
From: "Rhys Weatherley" <address@hidden>
To: <address@hidden>
Sent: Monday, December 02, 2002 6:43 AM
Subject: Re: FW: [DotGNU]The Mingw32 ilrun seems to run


> James Michael DuPont wrote:
>
> > Simon and I had a long discussion about how to associate the IL exe to
> > the pnet runtime. I was thinking about a exe stub that chooses the
> > runtime from the registry, what do you think?
>
> The ECMA spec says that IL exe's make a call to "_CorExeMain" in
> "mscoree.dll" to auto-launch the CLR.  That's how the MS CLR
> is launched.
>
> It would theoretically be possible to provide a dummy dll with
> the same name that immediately does the Windows equivalent of
> "exec" to launch "ilrun".  But you'd have to be careful about
> conflicts with an existing MS CLR installation on the system.
>
> Cheers,
>
> Rhys.
> _______________________________________________
> Developers mailing list
> address@hidden
> http://www.dotgnu.org/mailman/listinfo/developers
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]