🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1248

Checksumming a .EXE file

#1248
From: glen sunada f84
Date: Wed, 27 Dec 1989 20:58
23 lines
1643 bytes
   I am writing an application where I need to be able to check if .EXE
files have been changed.  I want to do this as part of the initialzation
of the package.  I would also like to be able to do this without prior
chekcsuming of the files and storage of the checksums in a data file
because the number of .EXE files I need to checksum is not uniqely
determined by the pcakage.

   I have been able to find references to the structure of .EXE file
headers and know where the file checksum is located.  What I haven not
been able to determine is the checksumming algorithm used by the
Microsoft Linker in determing that checksun.

   All help is greatly appreciated.  Please post short answers and mail
long ones to me.  I will sumaraize any answers I get by mail to the net.

   Thanks in advance.

BTW.  I am writeing this for DOS 3.3

Glen U. Sunada
gs940971@longs.LANCE.ColoState.EDU
reboud to ...ncar!boulder!ccncsu!longs.LANCE.ColoState.EDU!gs940971
Technical Details
Message-ID: <3554@ccncsu.ColoState.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!samsung!rex!ames!ucsd!helios.ee.lbl.gov!hellgate.utah.edu!boulder!ccncsu!longs.LANCE.ColoState.Edu!gs940971

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!samsung!rex!ames!ucsd!helios.ee.lbl.gov!hellgate.utah.edu!boulder!ccncsu!longs.LANCE.ColoState.Edu!gs940971
From: gs940971@longs.LANCE.ColoState.Edu (glen sunada f84)
Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc
Subject: Checksumming a .EXE file
Keywords: checksun verification
Message-ID: <3554@ccncsu.ColoState.EDU>
Date: 27 Dec 89 20:58:26 GMT
Sender: news@ccncsu.ColoState.EDU
Reply-To: gs940971@longs.LANCE.ColoState.Edu (glen sunada f84)
Followup-To: alt.msdos.programmer
Organization: Colorado State U. Center for Computer Assisted Engineering
Lines: 23