LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Int64ShllMod32 afterUpdate 8.1.1 to 9.0.1

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

 

0 Kudos
Message 1 of 2
(2,872 Views)

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.

National Instruments
0 Kudos
Message 2 of 2
(2,852 Views)