Article View: comp.windows.ms.programmer
Article #2121How to see the diff between a windows and dos exe file
From: T. van Hunnik
Date: Tue, 16 Apr 1991 06:07
Date: Tue, 16 Apr 1991 06:07
31 lines
1771 bytes
1771 bytes
Hello netters,
We have made an iconic shell on top of windows 3.0, which is able to
activate windows and non-windows (dos) programs. To enable customization
of application activation we have made keyboard input redirections.
This kaeboard input redirection is implemented differently for windows
applications as for ms-dos applications. This is the reason we like to detect
the difference between ms-dos and windows executables.
In the MS-DOS Encyclopedia in appendix K we found a detection method
for new executable files ("MZ" on the first two bytes; on offset 3CH the
offset to the new executable header, which starts with "NE").
However a few days ago we found out that MS-Word for DOS has this same
strings and is a new executable file, but no windows applications!
Does anyone out there know whether a better mechanism exist to detect
the difference between a windows application and a ms-dos applications??
Thanks Theo
Theo van Hunnik Tel : (+31-55-43)3306
PLG Added Value FAX : (+31-55-43)2041
Room V3/A20 Internet : theo@idca.tds.philips.nl
Philips Information Systems uucp : ...!mcsun!philapd!theo
Postbus 245
7300 AE Apeldoorn
Nederland
Technical Details
Message-ID:
<1275@idcapd.idca.tds.philips.nl>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!mcsun!hp4nl!philapd!idcapd!theoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!mcsun!hp4nl!philapd!idcapd!theo From: theo@idca.tds.PHILIPS.nl (T. van Hunnik) Newsgroups: comp.windows.ms.programmer Subject: How to see the diff between a windows and dos exe file Keywords: exe file, windows, dos Message-ID: <1275@idcapd.idca.tds.philips.nl> Date: 16 Apr 91 06:07:24 GMT Organization: Philips Information Systems, Apeldoorn, The Netherlands Lines: 31