// #1 : RDS 로드 IDispatch *pDispatch = NULL; RDS::IDataspacePtr pDS; HRESULT hr_CreateInstance = pDS.CreateInstance(OLESTR("RDS.DataSpace")); // if (FAILED(hr_CreateInstance)) { // assertion } // #2 : 해당 COM+ 서버에서 객체 가져오기 Result = pDS->CreateObject(_bstr_t("Object Program ID"), _bstr_t("Remote Address")); HRESULT hr = Result.pdispVal->QueryInterface(_uuidof(IDispatch), (LPVOID*) &pDispatch); } //..