This is a repost of an earlier question:
Before I use any of the routines of WinLib, I check whether they
are available, using the following routine:
The detection for WinNT was added by Lance, but now I wonder if
this makes sense.
My question is: are the functions of WinLib (LFN support,
gain focus, etc) available when running under WinNT (or Win2K)?
Could anyone test if they can retrieve a long filename under
WinNT? (so just skip the WindowsActive check)
Thanks in advance!
------------------
Sebastian Groeneveld
mailto:[email protected][email protected]</A>
Before I use any of the routines of WinLib, I check whether they
are available, using the following routine:
Code:
FUNCTION WindowsActive () PUBLIC AS INTEGER IF UCASE$(ENVIRON$("OS")) = "WINDOWS_NT" THEN FUNCTION = -1 EXIT FUNCTION END IF ! mov ax, &H1600 ! int &H2F ! cmp al, 4 ! jnz NotWin95 FUNCTION = -1 EXIT FUNCTION NotWin95: FUNCTION = 0 END FUNCTION
this makes sense.
My question is: are the functions of WinLib (LFN support,
gain focus, etc) available when running under WinNT (or Win2K)?
Could anyone test if they can retrieve a long filename under
WinNT? (so just skip the WindowsActive check)
Thanks in advance!
------------------
Sebastian Groeneveld
mailto:[email protected][email protected]</A>
Comment