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. C / C++ / MFC
  4. IDispEventSimpleImpl

IDispEventSimpleImpl

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpvisual-studiocomhelp
1 Posts 1 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 // MFC socket extensions #include // MFC declaration for CTreeView #include // ATL Base #include // ATL COM #include // for CAtlMap #include Thanks&Regards shakumar

    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