IAttr::NameBSTR Name;
Return ValuesThis string property can be used to set or get using a BSTR.
RemarksWhen using BSTR, the SysAllocString method initializes the string. At the end use SysFreeString to free the memory for a BSTR. BSTR can be casted with LPCWSTR to CString. See example below.
|