24 Apr
2001
24 Apr
'01
8:40 a.m.
On Mon, 23 Apr 2001, Jason Burgon wrote:
program test; function UseLFN(path:CString): byte; AsmName '_use_lfn'; begin Writeln(UseLFN('C:\')); end.
This is a very, very bad way of detecting Windoze because it assumes LFN = Windoze.
I agree that this is not a good idea. I sent a different suggestion, which I think is better, based on Int 2Fh function 1600h. Is that method okay? If not, why not?
There will be problems fot NT however.
Not just NT (NT/2000 does not provide the DOS LFN API) my friend.
That's not true: W2K _does_ include the LFN API support in its DOS box.