From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ring typedef in struct to DLL 32<-> 64 bit bug?

Labview 2011, with all the service packs.

 

The observed behaviour: when making a ring typedef in a struct, int32, and passing to DLL, the behaviour is as expected at

32 bit version of Labview.

When the same VI  runs on 64 bit version, the int32  is passed to DLL as int64, and the DLL need to be conditionally

compiled to handle these different types. Validated with looking at the memory location where the struct is located.

 

Michael.

_________________________________________________________________________________________________
LV 8.2 at Windows & Linux


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

Hello mishklyar

 

do you have an example i can look into  ???

 

 

Derick 🙂

Derick Mathew
0 Kudos
Message 2 of 2
(2,361 Views)