LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

OS types and numerals - wrong number.

Solved!
Go to solution

Good day.

 

Function GetWinOSVersion (&temp_int, &temp_int2, NULL, NULL); - get 2 numerals, and his text adding = OS type.

 

OS type of win 7 = 61, win 7 x64 = 62.

 

Question: why in CVI 9.0 this func returns 51????

 

Testing from not one comp, always 51, at win 7 x64 too. How to fix this? Thanks.

0 Kudos
Message 1 of 3
(2,601 Views)

Hi Sergery,

 

Could you reply with a screenshot of your command prompt after you pass the "ver"?

Regards,

Jackie

DAQ Product Marketing Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,582 Views)
Solution
Accepted by topic author Sergey_st

Thanks, i'm repair this.

 

Error is not function GetOs, error this:

 

if (temp_int=6 && temp_int2==1) winver=61;

 

Not two "=" was typed...

0 Kudos
Message 3 of 3
(2,561 Views)