Mail Archives: djgpp/1998/04/12/04:51:10
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 -