How MSIL differ from .Net PE files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi folks,
How MSIL differ from .Net PE file?
Is .NET PE is native CODE?
what is teh use of PE file .....

Is there is any tool by which we can create .Net PE file>

Thanks on advance
 
PE = portable executable

If you take a simple, single file assembly, as a PE, it has assembly info,
as well as the IL code. The tool to create a PE, in .NET, is one of the
compilers.

Now, if you are talking creating a standard COM PE, you cannot do that in
..NET. You can wrap the .NET assembly in a COM wrapper, but you will still
have to have .NET installed to run the assembly.

Hope this helps.


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Hello Balaji,

..NET PE files, that is,Microsoft Windows portable executable dlls or exes
contain the MSIL.
Compilers for languages, such as the Microsoft Visual C#® development tool
and
Microsoft Visual Basic® .NET development system, output Microsoft
intermediate
language (MSIL) instructions, which are contained in standard Microsoft
Windows
portable executable (PE) .dll or .exe files. When the assembly is loaded and
a method is
called, the method's MSIL code is compiled by a just-in-time (JIT) compiler
into native
machine instructions, which are subsequently executed. Methods that are
never called are not JIT-compiled.

You can refer to the following link for more details:

[.NET Security Fundamentals]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod79.asp

HTH

Mona
 
Hi mona,

Thanks for The reply.
The link given by also it's useful


Mona said:
Hello Balaji,

..NET PE files, that is,Microsoft Windows portable executable dlls or exes
contain the MSIL.
Compilers for languages, such as the Microsoft Visual C#® development tool
and
Microsoft Visual Basic® .NET development system, output Microsoft
intermediate
language (MSIL) instructions, which are contained in standard Microsoft
Windows
portable executable (PE) .dll or .exe files. When the assembly is loaded and
a method is
called, the method's MSIL code is compiled by a just-in-time (JIT) compiler
into native
machine instructions, which are subsequently executed. Methods that are
never called are not JIT-compiled.

You can refer to the following link for more details:

[.NET Security Fundamentals]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod79.asp

HTH

Mona


Balaji said:
hi folks,
How MSIL differ from .Net PE file?
Is .NET PE is native CODE?
what is teh use of PE file .....

Is there is any tool by which we can create .Net PE file>

Thanks on advance
 
Back
Top