How can i do that a function is not compiled when my compiled program is executed under Windows NT 4.0?
The matter is that AnimateWindow_() MSWindows API function is not available in Windows NT (and maybe W95 neither), so i must use something like CompilerIf - CompilerEndIf part.
But CompilerIf command doesn't admit a variable, but only a constant:
Code: Select all
CompilerIf OSVersion()<>#PB_OS_Windows_NT_4
And course, i can't do:
Code: Select all
if OSVersion=#PB_OS_Windows_NT_4
#OSV=0
else
#OSV=1
endif

