To: opendos AT delorie DOT com Date: Sat, 7 Mar 1998 10:29:42 -0600 Subject: Re: Long File Name Use Message-ID: <19980307.103001.2734.9.chrispwilson@juno.com> References: <889274541 DOT 2024570 DOT 0 AT thefont DOT demon DOT co DOT uk> From: chrispwilson AT juno DOT com (Chris Wilson) Precedence: bulk On Sat, 7 Mar 1998 12:42:54 +0000 Robert Parker writes: >Hi, >I've installed the long filename beta product but when I try to pass a long >filename to the DJGPP compiler (gcc) it complains that the file cannot be found. > >How does the long filename functionality work ? I would have thought that >it intercepted the standard DOS interrupt for opening files and applied any >long filename look-up necessary then passed the actual 8.3 name to the >original DOS interrupt - that way programs dont need modifying to use long >filenames (providing the program allocates a large enough buffer to store >long filenames - which shouldn't be a problem for gcc as it is presumably a >port from the Unix implementation) > >TIA, >Robert Parker > Windows 95 / Caldera LFN uses a completely different method of accessing file names than standard MS-DOS. Programs using LFN support use a different system call (INT 21h, AH=71h) to access file system routines instead of the standard DOS ones. Even with LFN support loaded, programs that don't recognize LFN support can still access the old 8.3 file names. DJGPP probably doesn't recognize long filenames - you still need to use 8.3 ones with it, like you do with almost every DOS program. _____________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com Or call Juno at (800) 654-JUNO [654-5866]