To: opendos AT delorie DOT com X-Comment-To: "Da Silva, Joe" References: <67BAFB085CD7D21190B80090273F74A45B7D64 AT emwatent02 DOT meters DOT com DOT au> Message-Id: <2.07b7.COLY.G4CCE8@belous.munic.msk.su> From: "Arkady V.Belousov" Date: Mon, 20 Nov 2000 23:46:56 +0300 (MSK) Organization: Locus X-Mailer: dMail [Demos Mail for DOS v2.07b7] Subject: RE: PKZIP 2.50 for DOS Lines: 37 MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Reply-To: opendos AT delorie DOT com X-Comment-To: Da Silva, Joe Hi! 20-ξΟΡ-2000 14:42 Joe DOT daSilva AT emailmetering DOT com (Da Silva, Joe) wrote to "'opendos AT delorie DOT com'" : >> Don't know about others but WinRAR distributive includes command line >> RAR.EXE which works as Win32 console app and, of course, fully support LFN >> and all RAR possibilities like 1M window for packing. >> If you wish then you can with help of DEXEM from HIEW package add >> RAR/16 as stub for abovementioned RAR/32 and get executable which >> - works under DOS and Windows in native mode for each; >> - support LFN and big packing window under Windows. DJ> Could you give us more details of how you do this "Win32 DJ> console app -> DOS console app" conversion? The HIEW DJ> documentation is almost non-existant ... I say not about conversion. Hint: all NewExe files contains two part - plain old DOS MZ executable and extended executable: NE, PE, LE/LX, etc. Usually for Windows apps as MZ executable (stub) used code which says something like "This program requires Miscrosoft Windows". But as stub can be used any code (compatible by function with Windows code or not) and in this case such executable called "dual EXE" (DEXEM=Dual EXE Manipulator). As example I can name Manifest from QEMM. DEXEM allows split dual EXE and replace stub in dual EXE. DJ> Will it work for other Win32 console app's? Of course. DJ> I once tried to re-stub a Win32 console app using WDOSX, DJ> but unfortunately this had not been compiled with suitable DJ> options for WDOSX to handle. :-( DJ> I also tried something from http://members.xoom.com/dosuser/ DJ> (IIRC) but this didn't work either (it also required a DPMI server, DJ> which is an inconvenience - I can't really afford the RAM ...).