Click here to Skip to main content
15,894,740 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Assigning xy coordinates to array values [modified] Pin
Niklas L4-Jul-10 3:57
Niklas L4-Jul-10 3:57 
GeneralRe: Assigning xy coordinates to array values Pin
SilentDude56k4-Jul-10 9:44
SilentDude56k4-Jul-10 9:44 
QuestionInstalling software and registry settings onto a WinCE device from an SD card Pin
frqftgbdafr3-Jul-10 19:15
frqftgbdafr3-Jul-10 19:15 
AnswerRe: Installing software and registry settings onto a WinCE device from an SD card Pin
David Crow6-Jul-10 4:33
David Crow6-Jul-10 4:33 
QuestionHow to import structure variables from another cpp file Pin
raju_shiva3-Jul-10 1:35
raju_shiva3-Jul-10 1:35 
AnswerRe: How to import structure variables from another cpp file Pin
CPallini3-Jul-10 2:13
mveCPallini3-Jul-10 2:13 
AnswerRe: How to import structure variables from another cpp file Pin
Code-o-mat3-Jul-10 2:26
Code-o-mat3-Jul-10 2:26 
QuestionIDispEventSimpleImpl Pin
shakumar_213-Jul-10 1:32
shakumar_213-Jul-10 1:32 
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
Questionstrtok Pin
T.RATHA KRISHNAN2-Jul-10 18:45
T.RATHA KRISHNAN2-Jul-10 18:45 
AnswerRe: strtok Pin
elchupathingy2-Jul-10 19:26
elchupathingy2-Jul-10 19:26 
GeneralRe: strtok Pin
Stephen Hewitt4-Jul-10 14:42
Stephen Hewitt4-Jul-10 14:42 
AnswerRe: strtok Pin
CPallini2-Jul-10 23:36
mveCPallini2-Jul-10 23:36 
AnswerRe: strtok Pin
Chris Losinger5-Jul-10 4:24
professionalChris Losinger5-Jul-10 4:24 
AnswerRe: strtok Pin
Aescleal5-Jul-10 22:03
Aescleal5-Jul-10 22:03 
QuestionSmallestInt-need algo Pin
mohitadube2-Jul-10 9:48
mohitadube2-Jul-10 9:48 
AnswerRe: SmallestInt-need algo PinPopular
Richard Andrew x642-Jul-10 9:55
professionalRichard Andrew x642-Jul-10 9:55 
QuestionNumTrans-need alogorithm Pin
mohitadube2-Jul-10 9:45
mohitadube2-Jul-10 9:45 
Questionabout apihook Pin
rockago2-Jul-10 7:17
rockago2-Jul-10 7:17 
AnswerRe: about apihook Pin
rp_suman3-Jul-10 0:55
rp_suman3-Jul-10 0:55 
GeneralRe: about apihook Pin
rockago3-Jul-10 11:09
rockago3-Jul-10 11:09 
QuestionHow i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC Pin
humais2-Jul-10 5:33
humais2-Jul-10 5:33 
AnswerRe: How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC Pin
Richard MacCutchan2-Jul-10 7:10
mveRichard MacCutchan2-Jul-10 7:10 
GeneralRe: How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC Pin
humais2-Jul-10 8:12
humais2-Jul-10 8:12 
GeneralRe: How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC Pin
Richard MacCutchan2-Jul-10 8:34
mveRichard MacCutchan2-Jul-10 8:34 
AnswerRe: How i can save DC in Hbitmap...so i can use it Cimage...in SDI MFC Pin
CPallini2-Jul-10 8:35
mveCPallini2-Jul-10 8:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.