Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!uakari.primate.wisc.edu!uflorida!haven!uvaarpa!murdoch!euclid.acc.Virginia.EDU!wfp5p From: wfp5p@euclid.acc.Virginia.EDU (William F. Pemberton) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: EXE2BIN Message-ID: <1990Nov13.152028.26874@murdoch.acc.Virginia.EDU> Date: 13 Nov 90 15:20:28 GMT References: <45890@eerie.acsu.Buffalo.EDU> <4855@trantor.harris-atd.com> Sender: news@murdoch.acc.Virginia.EDU Organization: University of Virginia Lines: 25 Ireallyam: wfp5p In article <4855@trantor.harris-atd.com> sonny@trantor.harris-atd.com (Bob Davis) writes: >In article <45890@eerie.acsu.Buffalo.EDU> v067qklp@ubvmsb.cc.buffalo.edu writes: >>Hi. I wrote a utility in Shareware First Modula-2 Compiler to capture the >>screen and either dump it to a file or retrieve from the file a saved screen >>and then redraw the screen. However, I'd like to convert this EXE to a binary >>file which I could keep loaded while in DBASE-III+. >> >>EXE2BIN always seems to return the message "Can't convert file." Does anyone >>know what EXE2BIN is looking for? >> > One cannot convert an arbitrary .EXE file to a .COM file. A .EXE >file which is convertible to .COM by EXE2BIN will have been compiled with >a common code and data segment and no stack segment. Further, such a > .EXE file is not even executable WITHOUT conversion to .COM by EXE2BIN. Close to correct, but not quite. An .EXE that could be converted to .COM does not HAVE to be converted to run, it will run just fine. Such an .EXE is any program written with Turbo's (or MS) tiny memory model. No conversion to .COM is required!!!! +-----------------------------------------------------------------------------+ | Bill Pemberton | flash@virginia.edu -OR- wfp5p@virginia.edu | | University of Virginia | | | (804) 971-1894 | "Itch me, but please don't scratch me." | +-----------------------------------------------------------------------------+