Mail Archives: opendos/2000/11/20/16:29:07
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'" <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 ...).
- Raw text -