Date: Mon, 4 Oct 93 12:58:54 MDT From: uranus!omega!coombe AT uunet DOT UU DOT NET (Skip Coombe) To: uunet!sun.soe.clarkson.edu!djgpp AT uunet DOT UU DOT NET Subject: Hacking EXE2BIN.EXE to defeat version checking >> Apparently, Ms stopped shipping this file with DOS-5, and when I >> copied this from a version 5 distribution, running the make gives >> the the "wrong dos version" error on this file. > >Grab you debugger and disable the version check in exe2bin by patching the >binary. There's no reason why this program should check the dos version. > >Morten Welinder >terra AT diku DOT dk I liked Morten Welinde's suggestion since setver has caused me some problems in the past. I found the string "MSDOS Version 5.00" in EXE2BIN.EXE and changed it to "MSDOS Version 6.00", but this had no effect (still got "Incorrect version" message). Can anyone tell me what the version checking code looks like? If the answer is RTFM I'd welcome any references - I know that I have just enough knowledge to be dangerous and I'd like to gain enough to be effective. Skip ======================================================================== Skip Coombe /\ Department of Computer Science Ford Microelectronics Inc. /\/^ \ University of Colorado Colorado Springs, CO 80921 / ^ ^ \ @ Colorado Springs coombe AT joker DOT eld DOT ford DOT com / ^ ^ ^ \ gbcoombe AT sanluis DOT uccs DOT edu ========================================================================