10-13-2011 08:07 AM
Hi,
i update my system from CVI 8.1.1 to 9.0.1 on an new pc.
After this i get a error-message when i built.
""WinNT.h Warning: Inconsistent linkage for 'Int64ShllMod32' previously declared at WinNT.h 555.""
"WinNT.h"
__inline ULONGLONG
NTAPI
Int64ShllMod32 (
ULONGLONG Value,
DWORD ShiftCount
)
{
__asm {
mov ecx, ShiftCount
mov eax, dword ptr [Value]
mov edx, dword ptr [Value+4]
shld edx, eax, cl
shl eax, cl
}
}
Can someone help me?
Regards
10-17-2011 05:10 PM
I just tried including WinNT.h in CVI 8.5 and 2010. I did not get an error like this. Did you make sure to include Windows.h as the first included header? Including WIndows.h out of order is a common problem for build errors like this.