Click here to Skip to main content
15,922,584 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionProblem with grabbing window's output to EMF's DC Pin
modosansreves24-Feb-06 20:59
modosansreves24-Feb-06 20:59 
AnswerRe: Problem with grabbing window's output to EMF's DC Pin
mbue27-Feb-06 22:31
mbue27-Feb-06 22:31 
Questionstl sorting question Pin
Warren Stevens24-Feb-06 8:52
Warren Stevens24-Feb-06 8:52 
AnswerRe: stl sorting question Pin
Rob Caldecott24-Feb-06 9:52
Rob Caldecott24-Feb-06 9:52 
GeneralRe: stl sorting question Pin
Warren Stevens24-Feb-06 11:45
Warren Stevens24-Feb-06 11:45 
Questionstl string parsing for DB query statement Pin
xcavin23-Feb-06 5:48
xcavin23-Feb-06 5:48 
AnswerRe: stl string parsing for DB query statement Pin
Roland Pibinger24-Feb-06 23:23
Roland Pibinger24-Feb-06 23:23 
QuestionError In Building simple ATL application Pin
maharaja pandian23-Feb-06 1:47
maharaja pandian23-Feb-06 1:47 
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
Stephen Hewitt24-Feb-06 22:40
Stephen Hewitt24-Feb-06 22:40 
QuestionUsing ShellContextMenu in my application Pin
empit4ever22-Feb-06 11:18
empit4ever22-Feb-06 11:18 
QuestionAccess to COM methods inside Windows Service ATL Pin
cmacgowan22-Feb-06 6:01
cmacgowan22-Feb-06 6:01 
AnswerRe: Access to COM methods inside Windows Service ATL Pin
cmacgowan24-Feb-06 8:28
cmacgowan24-Feb-06 8:28 
QuestionActiveX classname chnage Pin
Anilkumar K V20-Feb-06 16:42
Anilkumar K V20-Feb-06 16:42 
Questioni write a general dll want only use ATL's some windows class, how to do? Pin
HOW WHAT18-Feb-06 20:01
HOW WHAT18-Feb-06 20:01 
AnswerRe: i write a general dll want only use ATL's some windows class, how to do? Pin
georgeraafat20-Feb-06 9:07
georgeraafat20-Feb-06 9:07 
GeneralRe: i write a general dll want only use ATL's some windows class, how to do? Pin
HOW WHAT20-Feb-06 20:48
HOW WHAT20-Feb-06 20:48 
GeneralRe: i write a general dll want only use ATL's some windows class, how to do? Pin
Stephen Hewitt21-Feb-06 19:28
Stephen Hewitt21-Feb-06 19:28 
Questionin WTL, can these code not use in WinMain? Pin
HOW WHAT18-Feb-06 19:58
HOW WHAT18-Feb-06 19:58 
AnswerRe: in WTL, can these code not use in WinMain? Pin
Douglas Troy20-Feb-06 7:16
Douglas Troy20-Feb-06 7:16 
Questionproblem with ocx... Pin
padma_0117-Feb-06 1:07
padma_0117-Feb-06 1:07 
GeneralRe: problem with ocx... Pin
Joonsong Jang17-Feb-06 19:59
Joonsong Jang17-Feb-06 19:59 
QuestionAdd a New ATL Object Pin
Anil_vvs15-Feb-06 18:42
Anil_vvs15-Feb-06 18:42 
AnswerRe: Add a New ATL Object Pin
Stephen Hewitt16-Feb-06 11:45
Stephen Hewitt16-Feb-06 11:45 
QuestionActiveX ATL control Pin
Anilkumar K V13-Feb-06 18:43
Anilkumar K V13-Feb-06 18:43 
GeneralRe: ActiveX ATL control Pin
Joonsong Jang17-Feb-06 19:36
Joonsong Jang17-Feb-06 19:36 

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.