///////////////////////////////////////////////////////////////////// // Hello.cpp : Implementation of CHello, first COM+ application // // // // Jim Fawcett, CSE775 - Distributed Objects, Spring 2004 // ///////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "Hello.h" #include ".\hello.h" STDMETHODIMP CHello::salutation(BSTR* greeting) { CComBSTR temp(L"Hello from COM+"); *greeting = temp.Detach(); return S_OK; }