Microsoft exe and MZ
-
I notice that (in Win200 at least) the check on the 1st 2 bytes of an exe being 'MZ' does not take place. Anything known?
-
I notice that (in Win200 at least) the check on the 1st 2 bytes of an exe being 'MZ' does not take place. Anything known?
It does on my win2k machine. I just changed MZ header and file turned into MS-DOS executable. .EXE files on windows are PE files and therefore should adhere to the standard specified. :) Regards, Venet. -------- Black holes are where God divided by zero.(Steven Wright)
-
It does on my win2k machine. I just changed MZ header and file turned into MS-DOS executable. .EXE files on windows are PE files and therefore should adhere to the standard specified. :) Regards, Venet. -------- Black holes are where God divided by zero.(Steven Wright)
Venet, thanks, but what I meant was that if you change the MZ (which appears in all exes) to, say, XX, then it still runs. There was a time when the OS complained if this signature was not present.
-
Venet, thanks, but what I meant was that if you change the MZ (which appears in all exes) to, say, XX, then it still runs. There was a time when the OS complained if this signature was not present.
-
Sorry for misunderstanding. John Wheater wrote: There was a time when the OS complained if this signature was not present. What OS was this ? Regards, Venet. -------- Black holes are where God divided by zero.(Steven Wright)
Not really an OS, rather DOS