LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call Library function -- can LabVIEW do type checking on C++ data types?

When using the Call Library function, can LabVIEW do type checking on C++ data types? Does it understand C++ constructs or STL, for example, classes (constructor/destructor), structs, vectors, map and so on?

Thank  you for your help.

Chris

0 Kudos
Message 1 of 2
(2,548 Views)
No. There is no standard for passing C++ types. LabVIEW can pass only standard C types to a DLL, and no type checking is possible so it is very easy to make an error.

If you need to pass objects, consider using .NET instead, if that is an option for you.
0 Kudos
Message 2 of 2
(2,537 Views)