Mail Archives: djgpp/1998/09/17/03:00:21
Endlisnis wrote:
> IMJ wrote:
> > Hello all,
> > New to this NG and about the same with DJGPP. My question is about
> > getting programs compiled in DJGPP to support long file names as in W95.
> > Some time ago I wrote a small command line based hex dumping program
> > using mainly the Stdio/Standard C functions. This worked great under
> > DOS, but now I need the LFN support. Could anyone point me in the right
> > direction?. Will I have to completely re-write this program?. I rather
> > liked the formatted output from fprintf()...
> As long as it uses the standard libraries it should work perfectly under
> DJGPP, and it fully supports long filenames with all of the standard library
> functions. (remember to "SET LFN=y" in your autoexec.bat
Hmm. Just use standard libraries. Ok, so what happens if I DON'T set LFN=Y, like
say, I send the program to someone that isn't a DJGPP programmer, with a nice
autoexec, with LFN=Y?
Maybe load an environment file with that in it or something? I don't really want
users to have to mess with their autoexec.
- Raw text -