void AppendBSTR( BSTR p );
Parameters
p
[in] A BSTR to append.
Remarks
Appends the specified BSTR to m_str.
Example
//need for conversion macro OLE2T, atlconv.h may need to be included
USES_CONVERSION;
CComBSTR bstrPre("Hello ");
CComBSTR bstrSuf("World!");
//Appends "World!" to "Hello "
bstrPre.AppendBSTR( bstrSuf );
//Displays a message box with text "Hello World!"
::MessageBox(NULL, OLE2T(bstrPre), NULL, MB_OK);
CComBSTR Overview | Class Members
See Also CComBSTR::Append, CComBSTR::operator +=