If I set something like 0x00000040 (my code is located at this address), then the program crashes with this error:The application was unable to start correctly (0xc000007b)But if I jmp from the code section to 0x00400040 then it works.Why did I get error with that strange address (0xc000007b) ? Is it possible to start the execution of program from code which is located outside sections?I use Windows 8.
Can I set entry point at code in PE headers?
x86;pe;windows 8