Subject: RE: how does i know if i'm under nt ?
You can call GetVersionEx
function IsNT: boolean;
var osi: TOSVersionInfo;
begin
osi.dwOSVersionInfoSize := sizeof(osi);
if( GetVersionEx() = true ) then
Result := (osi.dwPlatformId = VER_PLATFORM_WIN32_NT);
end;
Erwin