LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

64-bit integers CVI 8.0.0

I have send a response on this forum that CVI 7.0 supports 64-bit integers (by Mr. Matthews). We run CVI 8.0.0 and the following code does not compile: #define UInt64 unsigned long long #define Int64 signed long long UInt64 temp = 0; Produces the error "Invalid use of 'long'." Can I assume that this is not true and that CVI 8.0.0 and 7 do not support 64-bit integers?
Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 1 of 2
(2,829 Views)

I believe that the 'long long' syntax wasn't supported until version 8.5, but you can use __int64 instead.

 

*Edit: It appears that this is a duplicate thread that has already been answered.*

 

Mert A.

National Instruments

 

Message Edited by Mert A. on 03-09-2009 10:33 AM
0 Kudos
Message 2 of 2
(2,817 Views)