i have a com class (interface) with several functions.
i m writing a function that will execute one of this function ( by using the line: pDispatch->Invoke(dispid, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, &varResult, NULL, NULL);
now, what i need is a way to get the pDispatch ( IDispatch* pDispatch ).
i know only the inteface name & i also have a pointer to it's class (CCbtInterface* m_pCbtInterface;).
how do i do it ?