Did Delphi XE2 remove the IsWinNT function?
Porting to XE2 and I've got a line IsWinNT that compiled in 7 and Delphi 2009 and never gave us any guff before.
I'm not sure what the purpose of such a function is, but was it removed or moved?
and what is a comparable function?
My bad, it was in Virtual Trees har. Sorry guys -1 for me. Free +1's on the house
In Delphi 2009, there is no IsWinNT function. In addition, there is no Windows API function named like that. Most likely you are confused: Perhaps IsWinNT was part of some 3rd-party library that you used?
Anyhow, if you are only targeting the Windows platform, then you can implement the function as
function IsWinNT: boolean; begin result := true; end;
since every Windows version since (and including) XP has been based on NT.
I don't know such function, but you can use this code
if Win32Platform = VER_PLATFORM_WIN32_NT then
FYI Delphi XE2 only runs on WinNT based systems