ATL error [modified]
-
Hi, I try to include #include "stdafx.h" class CSofphoneView : public CFormView ,public IDispEventSimpleImpl<1, CSofphoneView,&DIID__IUccEndpointEvents> in App & View class its working when I create new c++ class “CCallcontrol” without base class and include #include "stdafx.h" class CCallcontrol :public IDispEventSimpleImpl<1, CCallcontrol, &DIID__IUccEndpointEvents> but its gets below error. Give me the suggestion . c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\atlcom.h(4211) : error C2039: '_GetSinkMap' : is not a member of 'CCallcontrol' 1> d:\shanthakumar\sofphone\sofphone\callcontrol.h(9) : see declaration of 'CCallcontrol' 1> c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\atlcom.h(4210) : while compiling class template member function 'HRESULT ATL::IDispEventSimpleImpl::Invoke(DISPID,const IID &,LCID,WORD,DISPPARAMS *,VARIANT *,EXCEPINFO *,UINT *)' 1> with 1> [ 1> nID=1, 1> T=CCallcontrol, 1> pdiid=& DIID__IUccEndpointEvents 1> ] 1> d:\shanthakumar\sofphone\sofphone\callcontrol.h(11) : see reference to class template instantiation 'ATL::IDispEventSimpleImpl' being compiled 1> with 1> [ 1> nID=1, 1> T=CCallcontrol, 1> pdiid=& DIID__IUccEndpointEvents 1> ] in “stdafx.h” included #include "afxsock.h" // MFC socket extensions #include "afxcview.h" // MFC declaration for CTreeView #include "atlbase.h" // ATL Base #include "atlcom.h" // ATL COM #include "atlcoll.h" // for CAtlMap #include "atlctl.h" Thanks&Regards shakumar
modified on Monday, July 5, 2010 3:43 AM
-
Hi, I try to include #include "stdafx.h" class CSofphoneView : public CFormView ,public IDispEventSimpleImpl<1, CSofphoneView,&DIID__IUccEndpointEvents> in App & View class its working when I create new c++ class “CCallcontrol” without base class and include #include "stdafx.h" class CCallcontrol :public IDispEventSimpleImpl<1, CCallcontrol, &DIID__IUccEndpointEvents> but its gets below error. Give me the suggestion . c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\atlcom.h(4211) : error C2039: '_GetSinkMap' : is not a member of 'CCallcontrol' 1> d:\shanthakumar\sofphone\sofphone\callcontrol.h(9) : see declaration of 'CCallcontrol' 1> c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\atlcom.h(4210) : while compiling class template member function 'HRESULT ATL::IDispEventSimpleImpl::Invoke(DISPID,const IID &,LCID,WORD,DISPPARAMS *,VARIANT *,EXCEPINFO *,UINT *)' 1> with 1> [ 1> nID=1, 1> T=CCallcontrol, 1> pdiid=& DIID__IUccEndpointEvents 1> ] 1> d:\shanthakumar\sofphone\sofphone\callcontrol.h(11) : see reference to class template instantiation 'ATL::IDispEventSimpleImpl' being compiled 1> with 1> [ 1> nID=1, 1> T=CCallcontrol, 1> pdiid=& DIID__IUccEndpointEvents 1> ] in “stdafx.h” included #include "afxsock.h" // MFC socket extensions #include "afxcview.h" // MFC declaration for CTreeView #include "atlbase.h" // ATL Base #include "atlcom.h" // ATL COM #include "atlcoll.h" // for CAtlMap #include "atlctl.h" Thanks&Regards shakumar
modified on Monday, July 5, 2010 3:43 AM
Edit you post so we can read it properly: we can't see any < or > characters or what's between them.
Steve