简体   繁体   English

Windows如何执行exe? 具体步骤是什么?

[英]How exe is executed by Windows? What are the exact steps?

I was struggling to learn the how applications are executed by CLR from last two days. 我一直在努力学习最近两天CLR如何执行应用程序。 I somehow got the process. 我莫名其妙地得到了过程。 Now I am curious to know how Windows distinguish between normal exe files and exe(assemblies) created by .Net compilers and linkers? 现在,我很想知道Windows如何区分普通的exe文件和.Net编译器和链接器创建的exe(程序集)? Please help! 请帮忙! Thank you for your kind attention! 感谢您的关注!

What you are looking for explained in very concise form in CLR via C# by Jeffery Ritcher. Jeffery Ritcher通过C#在CLR中以非常简洁的形式解释了您要查找的内容。

Actually there are headers mainly PE hearder and CLR header which helps windows to decide whether an exe is a native exe or .net exe. 实际上,头文件主要是PE侦听器和CLR头文件,可帮助Windows确定exe是本机exe还是.net exe。

You can use dumpbin exe if you want to take a look at the headers for exe's yourself. 如果您想自己查看exe标头,则可以使用dumpbin exe。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM