Quote:
|
Originally Posted by rendari
Actually DABhand,
With C# and VB.net files the code is compiled into Microsoft Intermediate Language. Then, once you run the exe a Just in Time compiler will compile the
Microsoft Intermediate Language code into native code and then execute it. Also, I think that the Just In Time compiler also checks the PE header to see if it has been changed, because if you change the PE header, the exe wont run. Since most exe packers change the PE header, the exe will not be able to run because the JIT detects these changes and wont run. CEXE packed exes, however, when unpacked do not have any changes in the PE header, thereby allowing the packed VB.net exe or C# exe to run.
|
The exe will call on API's that is used via either C# or VB.net. Unless they were stated to be included with the exe, which they never do to reduce sizes.
Hence why most c# or VB proggies require runtime files etc to make em work.
But the initial exe is encoded to a general language that the comp understands.
The only reason that Muji is having problems is that possibly the compiler, wrapped the exe for him already.