I thought it says 'hey, that is a .NET PE', lets see if there is any COM object or whatever to handle it...the stub of x86 code doesnt get run.
test: put something in the x86 code that triggers a GPF and see if it is reached: xor eax,eax mov ebx [eax] This is probably similar to how win31 recognised PE exes and handed them off to the WOW win32 on win16 layering hack, even though WOW shipped way after win31 came out. Placeholders are a wondrous thing. ...I still think it is daft giving managed programs the .exe extension; we should have hand a new one and a special launcher, just because it gets too confusing with this 'some exes can be run safely off the net, some exes cant' model, leaves the way open for semantic attacks against the some dumb users who keep sending me Klez.h emails. -steve ----- Original Message ----- From: "John Lam" <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 7:42 PM Subject: Re: Windows Software Restriction Policies and CAS I'm fairly certain of this; if the XP loader understood the format what would it do without the runtime installed? In .NET Server the runtime comes baked in, so the loader can do the handoff there. -John http://www.iunknown.com -----Original Message----- From: Brad Wilson [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 10:37 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Windows Software Restriction Policies and CAS John Lam wrote: > My question is: how is this handoff managed? I know that under > Windows.Net Server that the Windows loader understands the managed PE > file format, so presumably this is how they did it under Windows.Net > Server. However, the Windows XP doesn't understand managed PE files > natively. How is it handled under XP? Are you sure? I'm 99% sure that XP understands managed files natively, even though it didn't ship with the .NET framework installed. Brad -- Read my web log at http://www.quality.nu/dotnetguy/ You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.