Example: lrc_variant_BSTR_by_ref

This example assigns a string to a BSTR value stored by reference in a variant.

VARIANT var = lrc_variant_BSTR_by_ref("ABRACADABRA");