07-05-2006 06:01 AM
07-05-2006 06:30 AM
From CVI's ActiveX library:
Converts the BSTR string in the variant you specify into a dynamically allocated C-style string.
On success, CA_VariantGetCString releases the contents of the variant and marks it as empty.
CA_VariantGetCString returns an error if the variant does not contain a BSTR value.
When you no longer need the C-style string, call CA_FreeMemory to free it.
Prototype