Click here to Skip to main content
15,914,111 members
Home / Discussions / COM
   

COM

 
QuestionCOM Component... Pin
Siva Sankar Koyi24-Feb-06 21:13
Siva Sankar Koyi24-Feb-06 21:13 
AnswerRe: COM Component... Pin
Lim Bio Liong24-Feb-06 23:31
Lim Bio Liong24-Feb-06 23:31 
GeneralRe: COM Component... Pin
AmitGG28-Feb-06 22:11
AmitGG28-Feb-06 22:11 
QuestionImplement a new interface Pin
zubair_ahmed23-Feb-06 19:32
zubair_ahmed23-Feb-06 19:32 
AnswerRe: Implement a new interface Pin
Lim Bio Liong24-Feb-06 23:23
Lim Bio Liong24-Feb-06 23:23 
AnswerRe: Implement a new interface Pin
mbue27-Feb-06 16:14
mbue27-Feb-06 16:14 
QuestionHow to catch ActiveX Install or Excute using BHO? Pin
Blue-Bird23-Feb-06 19:00
Blue-Bird23-Feb-06 19:00 
QuestionError In Building simple ATL application Pin
maharaja pandian23-Feb-06 1:49
maharaja pandian23-Feb-06 1:49 
Smile | :) hi,
i Create a application in ATL COM application,( for dll based application)
with simple get and set method for adding 2 nos
which is very similar to the link

http://www.codersource.net/atl_tutorial_events_properties.html[^]

but after build the appliaction i get error as

C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlcom.h(1827) : error C2259: 'CComObject<class csimpleobj="">' : cannot instantiate abstract class due to following members:
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlcom.h(1823) : while compiling class-template member function 'long __stdcall ATL::CComCreator<class atl::ccomobject<class="" csimpleobj=""> >::CreateInstance(void *,const struct _GUID &,
void ** )'
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlcom.h(1827) : warning C4259: 'long __stdcall ISimpleObj::total(void)' : pure virtual function was not defined
E:\templqw12\SimpleAtlCom\SimpleAtlCom.h(106) : see declaration of 'total'
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlcom.h(1823) : while compiling class-template member function 'long __stdcall ATL::CComCreator<class atl::ccomobject<class="" csimpleobj=""> >::CreateInstance(void *,const struct _GUID &,
void ** )'
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlcom.h(1827) : error C2259: 'CComObject<class csimpleobj="">' : cannot instantiate abstract class due to following members:
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlcom.h(1823) : while compiling class-template member function 'long __stdcall ATL::CComCreator<class atl::ccomobject<class="" csimpleobj=""> >::CreateInstance(void *,const struct _GUID &,
void ** )'
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlcom.h(1827) : warning C4259: 'long __stdcall ISimpleObj::total(void)' : pure virtual function was not defined
E:\templqw12\SimpleAtlCom\SimpleAtlCom.h(106) : see declaration of 'total'
C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE\atlcom.h(1823) : while compiling class-template member function 'long __stdcall ATL::CComCreator<class atl::ccomobject<class="" csimpleobj=""> >::CreateInstance(void *,const struct _GUID &,
void ** )'
SimpleObj.cpp


reply meSmile | :)

send reply
AnswerRe: Error In Building simple ATL application Pin
toxcct23-Feb-06 2:13
toxcct23-Feb-06 2:13 
AnswerRe: Error In Building simple ATL application Pin
Stephen Hewitt23-Feb-06 19:20
Stephen Hewitt23-Feb-06 19:20 
QuestionCOM Server in VB Pin
Anil_vvs23-Feb-06 0:01
Anil_vvs23-Feb-06 0:01 
AnswerRe: COM Server in VB Pin
Anil_vvs23-Feb-06 0:05
Anil_vvs23-Feb-06 0:05 
AnswerRe: COM Server in VB Pin
Lim Bio Liong24-Feb-06 23:38
Lim Bio Liong24-Feb-06 23:38 
QuestionGet serious trouble in Powerpoint automation code Pin
Zhaohui Xing (Joey)22-Feb-06 16:30
Zhaohui Xing (Joey)22-Feb-06 16:30 
QuestionHow to correctly use CoInitialize? Pin
Waldermort22-Feb-06 3:34
Waldermort22-Feb-06 3:34 
AnswerRe: How to correctly use CoInitialize? Pin
Milton Karimbekallil22-Feb-06 5:42
Milton Karimbekallil22-Feb-06 5:42 
GeneralRe: How to correctly use CoInitialize? Pin
Waldermort22-Feb-06 15:19
Waldermort22-Feb-06 15:19 
GeneralRe: How to correctly use CoInitialize? Pin
User 21559722-Feb-06 21:51
User 21559722-Feb-06 21:51 
GeneralRe: How to correctly use CoInitialize? Pin
Rory Solley22-Feb-06 21:58
Rory Solley22-Feb-06 21:58 
GeneralRe: How to correctly use CoInitialize? Pin
Waldermort23-Feb-06 1:37
Waldermort23-Feb-06 1:37 
GeneralRe: How to correctly use CoInitialize? Pin
Waldermort23-Feb-06 1:41
Waldermort23-Feb-06 1:41 
QuestionPassing interface as parameters of functions Pin
nripun21-Feb-06 23:51
nripun21-Feb-06 23:51 
AnswerRe: Passing interface as parameters of functions Pin
Malli_12322-Feb-06 0:03
Malli_12322-Feb-06 0:03 
GeneralRe: Passing interface as parameters of functions Pin
nripun22-Feb-06 1:02
nripun22-Feb-06 1:02 
Questionhow to get the selected files name during Drag&Drop's mouse moving process Pin
welli21-Feb-06 21:28
welli21-Feb-06 21:28 

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.