Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. ATL error [modified]

ATL error [modified]

Scheduled Pinned Locked Moved ATL / WTL / STL
c++csharpvisual-studiocomhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shakumar_21
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • S shakumar_21

      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

      S Offline
      S Offline
      Stephen Hewitt
      wrote on last edited by
      #2

      Edit you post so we can read it properly: we can't see any < or > characters or what's between them.

      Steve

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups