Quant Interview


Go Back   Quantitative Finance Forums - quantitative methods, technical analysis, automated trading systems > Software Development > .NET Framework
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 09-24-2009, 08:44 PM   #1
bestdev
 
bestdev's Avatar
 
Join Date: May 2007
Posts: 2,299
What is a TempPE folder?

Question: Is there any difference between a PE file and a .NET-exe file? Do both contain MSIL Code? Where can I find PE files? Where and when are they created?

Answer:
Quote:
PE stands for portable format. This format describes the internal structure of the binary file.

PE files initially where binary modules (.dlls, .exes ). Information stored in
the file was described with the set of PE headers ( winnt.h ). This
information is used by windows loader, when it is loading module into
memory.

.NET assemblies are also PE compatible. But in the .NET assembly PE header contains information that this file is not an unmanaged module but .NET assembly. This helps loader to correctly load the file. In case of .NET
assembly CLR is started and completes further load of an assembly.
__________________

Impossible is temporary

bestdev is offline   Reply With Quote
Old 09-24-2009, 08:45 PM   #2
bestdev
 
bestdev's Avatar
 
Join Date: May 2007
Posts: 2,299
Managed executables (.NET-exe as you call them) use the PE format, and so does regular native Win32 executables. So in a way there's no difference, .NET executables are simply one kind of PE files.
__________________

Impossible is temporary

bestdev is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:47 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.