Jul 22, 2009 4:03 PM
Using ATLSIP in Win32 C++ Application - Call Back Functions like OnLogSIPMessage()
Dear
We are implementing OpenSIPStack in our Win32 based C++ appliation.
We have created the the OpenSIPStackCtl Object with following line an can also access the member function like MakeCall().
CoCreateInstance(__uuidof(OpenSIPStackCtl), NULL, CLSCTX_INPROC_SERVER, __uuidof(IOpenSIPStackCtl), (LPVOID *)&pOpenSIPStackCtl);
So far so good. But haw to get access to the Call Back funktion like OnLogSIPMessage() or better said what do we have to do that SIPATL call our Call Back Function for this Event. We did have a look at dispinterface _IOpenSIPStackCtlEvents. But did not see what code is needed "to get this function called back".
Thanks for any help or coded snipped to see how we have to handle the Event from class _IOpenSIPStackCtlEvents, Samuel