Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Frees any existing string held in the CComBSTR object, then creates a BSTR from the first character of each element in the safearray and attaches it to the CComBSTR object.
HRESULT ArrayToBSTR(
const SAFEARRAY* pSrc
) throw( );
Parameters
- pSrc
[in] The safearray containing the elements used to create the string.
Return Value
S_OK on success, or any standard HRESULT error value.
Requirements
Header: atlbase.h