How MSIL differ from .Net PE files

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
 
G

Guest

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!
***************************
 
M

Mona

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top