Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

.NET MSIL, Native and PE files

Posted on 2013-05-20
2
Medium Priority
?
388 Views
Last Modified: 2013-05-22
Correct if I am wrong, the MSIL file is also considered the PE file. And the Native code file is created by the JIT using the MSIL (same as PE File), correct?
0
Comment
Question by:metro156
2 Comments
 
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 1000 total points
ID: 39182704
I think technically speaking you wouldn't call it an "MSIL file," but yes you are correct: A managed module contains a PE file header and IL code. The JITter compiles the MSIL on-the-fly and on demand (as necessary).

Per Jeffrey Richter's CLR via C#, 4th ed., chapter 1.
0
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 1000 total points
ID: 39182707
Not fully: a PE file contains the MSIL in one part BUT also the relevant meta data in another section. Therefore MSIL is just a subset of the PE file.
http://msdn.microsoft.com/en-us/library/8dkk3ek4%28v=vs.71%29.aspx
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question