06-16-2006 07:57 AM
The code I posted will compile and run in CVI. The sample code is part of a utilities library (DLL).
This code below works fine for me.
Iam running CVI 7.1 on Windows XP.
#include <ansi_c.h>
#include <stdio.h>
int main()
{
__int64 a = 0;
__int64 b = 0;
a = 3;
a = a << 1;
printf("a: %I64d\n",a);
b = 2;
b = a - b;
printf("b: %I64d\n",b);
return 0;
}
06-16-2006 10:44 AM
Thanks.
Looks like it's a CVI 8.0.1 problem.
I fired up a copy of CVI 7.1 and it works fine as you said.
What stupidity, I've wasted so many hours on this ...
Menchar
06-16-2006 11:27 AM
06-16-2006 11:27 AM
06-16-2006 11:27 AM
06-16-2006 11:27 AM
06-16-2006 11:27 AM
06-16-2006 11:27 AM
06-16-2006 11:27 AM
06-16-2006 11:27 AM