The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: SiLentThReaD on August 05, 2005, 10:08:41 PM

Title: Import libraries with apps created on .NET framework
Post by: SiLentThReaD on August 05, 2005, 10:08:41 PM
Hi all,

Recently, I built a small app in .net, and then decided to open up with WDasm. I decided to check the import functions, and I did not find things like.... MessageBoxA.

Even though, I included a message box in the app.

Is the .NET framework, still using the standard API's ?
Title: Re: Import libraries with apps created on .NET framework
Post by: sluggy on August 06, 2005, 12:22:39 PM
Yes, but it is not as simple as that. .Net code is compiled to MSIL, which is an intermediate (pseudo) assembly language, when the app is run it gets JITted to native assembly. You could try running the ngen.exe tool to compile it straight to native assembly, and then disassemble it and have a look.
Title: Re: Import libraries with apps created on .NET framework
Post by: SiLentThReaD on August 06, 2005, 01:54:01 PM
thanks for the info :U
Title: Re: Import libraries with apps created on .NET framework
Post by: hitchhikr on August 06, 2005, 01:56:25 PM
If i had a guess i'd say they use a custom routine to load the dlls, together with
unicode/wide strings (or maybe not).