03-17-2013 01:54 PM
I have a C DLL that uses VISA to return BAR0 registers based upon specific resource names. I want to modify that DLL to pass in a cluster that will be filled in with all resource names from VISA. The cluster is an array of (int, string). To allocate space for the strings within the DLL, I am calling DSSetHandleSize. However, the link is failing because there are no libraries in "C:\Program Files (x86)\National Instruments\Shared\CVI\Extlib\msvc" that contain the definition. Since I'm using RT, I'm rather constrained; but I thought this would be supported by RT. I am building on a Windows 7 x64 box and deploying it to a PXI chassis. Any help would be appreciated.
03-18-2013 06:02 PM
It would be best if you post this question on the Real Time forums since you are working with RT.
03-18-2013 07:26 PM
Just guessing here - try linking against lvrt.dll. On my machine the RT versions are under National Instruments\RT Images\Labview\[version].