SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Computer Learning

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Kiddo8 who wrote (13318)11/26/2000 6:20:09 AM
From: thecow  Read Replies (2) of 110652
 
I guess this still holds true today, I tried it and it works for ZoneAlarm.exe.

From: zdnet.com

All Windows programs, whether 16-bit or 32-bit, begin with an old-fashioned DOS executable header. The first 2 bytes of an executable, any DOS or Windows type, are still MZ, the initials of Mark Zbikowski (an early DOS programmer). A Windows 16-bit executable has a second "New Executable" header later in the file. The location of this second header is stored in the 60th and 61st bytes of the DOS header, and the first 2 bytes of the NE header are the characters NE. A Windows 32-bit executable also has a second header, at the same offset found in the DOS header, but this one's first 2 bytes are PE, for Portable Executable. Thus you could determine whether a file is 16-bit or 32-bit by painstakingly examining a few bytes in its second header. Fortunately, that's not necessary.

Under Windows 95 and Windows NT 4, a quick way to determine whether a program is 16-bit or 32-bit is to right-click the EXE file and choose QuickView. In the first block of data, titled Technical File Information, look for the line named Signature. If its value is 454e, the file is a 16-bit executable. If 4550, the file is 32-bit. Why? If you split that signature value into two two-digit hexadecimal numbers, reverse them, and convert them to ASCII characters, you get NE and PE respectively!

tc
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext