If I set the platform flags of MyApp.exe to be x64
I still can run the corflags utilty like this:
corflags /32bit+ MyApp.exe
corflags will happily set the 32bit flag to 1.
Of course when I'll try to run the application I'll get an error:
0xC000007B = STATUS_INVALID_IMAGE_FORMAT
My question is: Is there a way that an assembly which is built to x64 can run as x86 or it is just that corflags utility doesn't 'care'?