// InnerComponent.cpp : Implementation of CInnerComponent #include "stdafx.h" #include "InnerComponent.h" #include ".\innercomponent.h" // CInnerComponent STDMETHODIMP CInnerComponent::ModifyStringAgain(BSTR* str) { CComBSTR s(*str); s += L"\n Hi from InnerComp"; *str = s; return S_OK; }