LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI Excel 2000 VAriantGETCString function

In need of figuring out how to exteract a text string from excel 2000.

I can see the result in the MyVariant usign the demo excel2000.prj as a BSTR.
How to extract this to get it into an actual char varaible?
Cannot get the VariantGetCString to work in terms of the double pointer for the second
function entry? Is this the only function that is neded?

Thanks.
0 Kudos
Message 1 of 2
(2,584 Views)
Try the CA_BSTRGetCString() function, which is part of the CVI ActiveX library.

Hope this helps
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,572 Views)