05-24-2018 07:42 AM
Hello,
Using LabVIEW 2017 (64-bit). Wanting to use the DLL import wizard to wrap the attached DLL and header file for use in communicating with a BK Precision P/S. The code fails on some of the function calls, particularly SI_Read, and SI_Write. Problem seems to be the structure LPOVERLAPPED which LabVIEW reports is not defined in the .h file.
Would the 'proper' method be to modify the .h file with a typedef, or write the DLL calls manually and use null = o as a constant for the argument?
Thanks all,
Chris
Solved! Go to Solution.
05-25-2018 04:09 AM - edited 05-25-2018 04:10 AM
@bonnerupc wrote:
Would the 'proper' method be to modify the .h file with a typedef, or write the DLL calls manually and use null = o as a constant for the argument?
The latter! Configure this parameter as Numeric, Pointer Sized (Unsigned) Integer, Pass: Value and wire a 0 numeric constant to it. I'm sure this library has been wrapped about umtien times already in this forum and there must be even posts with attached VI library with the result!!
05-25-2018 07:25 AM
Thanks Rolf,
got it!