delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/12/04:51:10

Date: Sun, 12 Apr 1998 11:49:27 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: dan <hartcore AT hotmail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Using djgpp on WINNT
In-Reply-To: <6gjbg6$16n4$1@news.cc.ruu.nl>
Message-ID: <Pine.SUN.3.91.980412114907.3322G-100000@is>
MIME-Version: 1.0

On Thu, 9 Apr 1998, dan wrote:

> >DJGPP doesn't support long names on
> >Windows NT because Microsoft in its infinite wisdom didn't include the
> >long file name API in the NT DOS box.
> 
> Well, I'm on thin ice here, but are you sure that that is exactly why the
> LFN's don't work on NT?

Yes, I am sure.  DOS programs can access long file names on Windows 9X
by using special functions of the DOS interrupt 21h.  These functions
aren't supported by the NT DOS box.

> At least, LFN's in a DOS-box under NT are  quite possible, and work fine
> on my NT system.

I assume you mean they work with programs like CMD.EXE and others
which are supplied with NT.  If so, then that's because these programs
aren't DOS programs at all.  They were compiled as Win32 console apps,
and therefore can use the Win32 API to access the files.  DOS programs
such as what DJGPP generates cannot use Win32.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019