Post Reply 
Four LIF text conversion questions
08-03-2014, 12:49 PM
Post: #9
RE: Four LIF text conversion questions
(08-02-2014 12:21 PM)Joe Horn Wrote:  
(08-02-2014 10:58 AM)Marcus von Cube Wrote:  Joe, why do you want to target DOS instead of, say, Win32?

Tony's utilities are command-line (aka "terminal") programs, so compiling them for a DOS window (cmd.exe) on my 32-bit Win7 computer is my only option, I think.

Ah, I do understand now. People keep thinking of the Windows command line as a variant of DOS which it definitely isn't. DOS is a 16 bit single tasking environment, while the Windows command line, starting with Windows NT, offers the full Windows API. (As an aside, You can even start a GUI program from a command window, as you probably already know). The problem with porting command line utilities targeted at Unix environments is that these tend to deviate from the POSIX standard and directly call Unix specific APIs like "open" instead of "fopen" or depend on the existence of certain external utilities or file system locations. Toolboxes like CygWin fill this gap.

Marcus von Cube
Wehrheim, Germany
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Four LIF text conversion questions - Marcus von Cube - 08-03-2014 12:49 PM

User(s) browsing this thread: 1 Guest(s)