From: "Joe Hagen" Newsgroups: comp.os.msdos.djgpp Subject: Re: What is the canonical way to find out if a file exists (in g++)? Date: Wed, 5 Jan 2000 23:26:16 -0600 Organization: Chorus Netwoks Lines: 29 Message-ID: <85192k$rbo$1@news.chorus.net> References: <850gep$epu$1 AT news DOT chorus DOT net> NNTP-Posting-Host: a32-28.madison.chorus.net X-Trace: news.chorus.net 947136404 28024 216.165.151.220 (6 Jan 2000 05:26:44 GMT) X-Complaints-To: abuse AT chorus DOT net NNTP-Posting-Date: 6 Jan 2000 05:26:44 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Mike, NT doesn't have native support for the extended LFN (long file name) INT 21 file I/O calls (the 71XX services) which provide the support under '95 and '98. There is a utility that you can run in a Command Prompt under NT that will load these services by using a VDD (Virtual Device Driver), but it does slow the session down because it has to route the 16 bit calls through the VDD. This tends to consume a lot of CPU time. After loading this driver in that session, a 16 bit program running in that session will be able to handle long filenames. You can go to this site and check out the info about LFN for NT: http://www.cybertrails.com/~fys/longfile.htm Joe jdhagen AT chorus DOT net > > Is there any way that I can find files with long file names? > I tried findfirst (), which is supposed to work with long file names, > with no joy.