My colleagues are modifying a traditional C++ library to a COM interface. My task is to write a labview application that uses the methods of the DLL.
One function returns a string.
The original DLL would allocate memory for a BSTR and return a pointer to that area.
geterror ([in] int nr, [out]BSTR * Errstring)
Labview recognizes that a string is returned for that method, but executing the VI creates a memory access error.
So how do I get a string text out of the DLL and into LV?
For a normal C-dll I used to write a wrapper that would interpret a LV Stringhandle entered as input parameter.
Unfortunatly the COM/ActiveX interface for LV is pretty poorly documented.
Has anyone encountered a similar p
roblem ?
TIA
7.1 -- 2013
CLA