Board index » cppbuilder » COM Problem: Using within one Interface Methode another Interface as Parameter
Igor Berchtol
![]() CBuilder Developer |
Fri, 21 Jun 2002 03:00:00 GMT
COM Problem: Using within one Interface Methode another Interface as Parameter
Hi,
I would like to do the following: This is the definition: [ Quote}; STDMETHODIMP TSimple2AutoServerImpl::getString( simpleAutoServer->getString(&_str); *str = _str; return S_OK; Quote} // if (!SimpleServerObj) { ISimpleAutoServerDisp SimpleServerObj; SimpleServerObj->setString(WideString(Edit1->Text)); // if (!Simple2ServerObj) { ISimple2AutoServerDisp Simple2ServerObj; WideString _str; // ISimpleAutoServerPtr I understand the error but I don't know how to solve this, when I use the But I need late-Binding or to say it else I need a IDispatch Implementation For any help I would be very glad. best regards, Igor Berchtold |