IT Community - Software Programming, Web Development and Technical Support

How to Convert the MSIL to native code?

This is a discussion on How to Convert the MSIL to native code? within the C and C++ Programming forums, part of the Software Development category; You have to do following for convert the msil to native code : First disassemble your code using ILDASM.exe DLL : ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C and C++ Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 07-16-2007, 10:33 PM
Archer Archer is offline
D-Web Programmer
 
Join Date: Jun 2007
Posts: 52
Archer is on a distinguished road
Default How to Convert the MSIL to native code?

You have to do following for convert the msil to native code :

First disassemble your code using ILDASM.exe

DLL : ildasm YourCode.dll /output:YourCode.il
EXE: ildasm YourCode.exe /output:YourCode.il

This creates an il file and a res file

Then you have to assemble this il and res file with ILASM.exe

DLL: ilasm YourCode.il /dll /resource:YourCode.res /output:YourCode.dll
EXE :ilasm YourCode.il /exe /resource:YourCode.res /output:YourCode.exe

After those two steps you have an PE in native code
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-17-2007, 01:50 AM
Sabari Sabari is offline
D-Web Genius
 
Join Date: Jul 2007
Posts: 943
Sabari is on a distinguished road
Exclamation Re: How to Convert the MSIL to native code?

hi Archer

i'm frankly say to you, i don't know about MSIL and native code? can you please explain about this and where we used these codes?
__________________
Thanks & Regards
Sabari...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server Native Client Sathish Kumar Database Support 1 08-22-2007 12:43 AM
MSIL Secrets : Every .net Programmer should know. a.deeban C# Programming 4 08-15-2007 11:42 PM
How do I call the native API from Java? oxygen Java Programming 2 08-06-2007 07:43 AM
Is there any chance to convert the C code to VC++ to create DLL kingmaker C and C++ Programming 1 07-20-2007 03:26 AM
What are native methods? How do you use them? vadivelanvaidyanathan Java Programming 1 07-17-2007 05:10 AM


All times are GMT -7. The time now is 12:31 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
Stamford Dentist | Euro Millions Lottery | Tech Support Services

SEO by vBSEO 3.0.0