www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/20/08:49:21

Date: Mon, 20 Dec 1999 13:24:31 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Richard Sanders <richard AT stardate DOT bc DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: LFN problem
In-Reply-To: <B0000310810@mail.stardate.bc.ca>
Message-ID: <Pine.SUN.3.91.991220131927.7592C-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 20 Dec 1999, Richard Sanders wrote:

> I am running the programme from within RHIDE, RHIDE is running 
> in a DOS box.  Running both programmes directly, in a DOS box 
> yeilds the same results.  The Older program returns LFN while my 
> current project does not.

Are you invoking the two programs in the same directory?

Can you show what DIR prints in that directory, and what each one of the 
programs returns?

Please invoke the programs from the command line, not from RHIDE, since 
RHIDE introduces an additional layer of complexity.

> There is no difference in the way of launching the programs, that I 
> can see. :(

Then perhaps the program's code does something you didn't mean to do.

Can you step with a debugger into the _use_lfn function and see where 
exactly it disables LFN?  You will have to take its source from the 
library and recompile it with -g (the easiest way is to paste the source 
of _use_lfn into your program).

- Raw text -


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