jassing
03-07-2007, 11:55 AM
SUF's functions are not returning valid results for a 2003 64bit server.
Using this code:
tinfo = System.GetOSVersionInfo();
cinfo = "";
cinfo = tinfo.MajorVersion .. "\r\n" ..
tinfo.MinorVersion .. "\r\n" ..
System.GetOSName();
if System.Is64BitOS() then
cinfo = "64\r\n"..cinfo;
else
cinfo = "32\r\n"..cinfo;
end
Dialog.Message("test",cinfo);
Application.Exit(0);
Produced the attached dialog.
In a nut shell; it thinks it's XP, not 2003
Major issue for me.
Anyone have a reliable way to detect the os name/version?
Using this code:
tinfo = System.GetOSVersionInfo();
cinfo = "";
cinfo = tinfo.MajorVersion .. "\r\n" ..
tinfo.MinorVersion .. "\r\n" ..
System.GetOSName();
if System.Is64BitOS() then
cinfo = "64\r\n"..cinfo;
else
cinfo = "32\r\n"..cinfo;
end
Dialog.Message("test",cinfo);
Application.Exit(0);
Produced the attached dialog.
In a nut shell; it thinks it's XP, not 2003
Major issue for me.
Anyone have a reliable way to detect the os name/version?