LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I access a reference from a dll in LabVIEW 8

I have written a dll in C++.  Here is the exported function:  extern "C" __declspec(dllexport)void Get_GPS_Error(int Cmd,TIniTable& Output);
How do I access the reference to the initable Output in LabVIEW 8?
 
 
Jennifer
0 Kudos
Message 1 of 2
(2,047 Views)
A reference is the same as a pointer - it's just a C++ compiler trick to make it look like something else - so you create your binding in LV the same as if it were defined
 
extern "C" __declspec(dllexport)void Get_GPS_Error(int Cmd,TIniTable* Output);
 
0 Kudos
Message 2 of 2
(2,043 Views)