Click here to Skip to main content
15,922,139 members
Home / Discussions / COM
   

COM

 
GeneralRe: Help!! - "both" components Pin
LasVegasGuy8-Feb-04 10:34
LasVegasGuy8-Feb-04 10:34 
GeneralRe: Help!! - "both" components Pin
Anonymous8-Feb-04 12:09
Anonymous8-Feb-04 12:09 
GeneralRe: Help!! - "both" components Pin
LasVegasGuy8-Feb-04 12:14
LasVegasGuy8-Feb-04 12:14 
GeneralRe: Help!! - "both" components Pin
Anonymous8-Feb-04 18:56
Anonymous8-Feb-04 18:56 
GeneralRe: Help!! - "both" components Pin
Anonymous9-Feb-04 8:33
Anonymous9-Feb-04 8:33 
GeneralIEnumIDList Pin
Tristan Rhodes6-Feb-04 5:27
Tristan Rhodes6-Feb-04 5:27 
GeneralRe: IEnumIDList Pin
Jörgen Sigvardsson7-Feb-04 3:42
Jörgen Sigvardsson7-Feb-04 3:42 
Generalcomplier error:...undefined class 'ATL_NO_VTABLE Pin
Abhi Lahare6-Feb-04 2:02
Abhi Lahare6-Feb-04 2:02 
Hi all,
I am new in ATL COM, I have created a Simple Object using ATL Object wizard,
and one simple Method.
The appwizard generated something like this
<br />
//SimpleObject.h<br />
class ATL_NO_VTABLE CSimpleObject :  // error while compiling client<br />
	public CComObjectRootEx<CComSingleThreadModel>,<br />
	public CComCoClass<CSimpleObject, &CLSID_SimpleObject>,<br />
	public IDispatchImpl<ISimpleObject, &IID_ISimpleObject, &LIBID_FIRSTLib><br />
{<br />
//.. rest of the things<br />
}<br />


Now i am trying to use this component in client(mfc app), for that i have imported the header file of the component(simpleobject.h) in my mfc app.

When i try to compile my mfc app.
Its gives me

error C2079: 'CSimpleObject' uses undefined class 'ATL_NO_VTABLE
Can anybody tell what is error in ATL world?? Confused | :confused:

Thanks in advance,
Abhi Lahare
GeneralRe: complier error:...undefined class 'ATL_NO_VTABLE Pin
Mike Dimmick6-Feb-04 2:50
Mike Dimmick6-Feb-04 2:50 
GeneralRe: complier error:...undefined class 'ATL_NO_VTABLE Pin
Abhi Lahare6-Feb-04 3:28
Abhi Lahare6-Feb-04 3:28 
QuestionHow can i get properties of com object dynamically Pin
Inam5-Feb-04 19:47
Inam5-Feb-04 19:47 
AnswerRe: How can i get properties of com object dynamically Pin
Mike Dimmick6-Feb-04 3:23
Mike Dimmick6-Feb-04 3:23 
GeneralRe: How can i get properties of com object dynamically Pin
Inam7-Feb-04 7:20
Inam7-Feb-04 7:20 
GeneralCommercial ActiveX Control - ClistCtrl/CListView Pin
Charles Roderick4-Feb-04 5:10
Charles Roderick4-Feb-04 5:10 
GeneralRe: Commercial ActiveX Control - ClistCtrl/CListView Pin
Jörgen Sigvardsson9-Feb-04 9:59
Jörgen Sigvardsson9-Feb-04 9:59 
GeneralRe: Commercial ActiveX Control - ClistCtrl/CListView Pin
Charles Roderick9-Feb-04 12:08
Charles Roderick9-Feb-04 12:08 
GeneralSHGetPathFromIDList - Problem Pin
Tristan Rhodes4-Feb-04 3:53
Tristan Rhodes4-Feb-04 3:53 
GeneralSolved Pin
Tristan Rhodes4-Feb-04 10:55
Tristan Rhodes4-Feb-04 10:55 
GeneralRe: SHGetPathFromIDList - Problem Pin
Mike Dimmick5-Feb-04 0:58
Mike Dimmick5-Feb-04 0:58 
GeneralSHBrowseForFolder problem Pin
Tristan Rhodes4-Feb-04 1:19
Tristan Rhodes4-Feb-04 1:19 
GeneralRe: SHBrowseForFolder problem Pin
Tristan Rhodes4-Feb-04 2:01
Tristan Rhodes4-Feb-04 2:01 
GeneralPartial Solution Pin
Tristan Rhodes4-Feb-04 2:55
Tristan Rhodes4-Feb-04 2:55 
GeneralMethod overloading Pin
Anonymous3-Feb-04 4:19
Anonymous3-Feb-04 4:19 
GeneralRe: Method overloading Pin
Steve S3-Feb-04 22:55
Steve S3-Feb-04 22:55 
GeneralRe: Method overloading Pin
Anonymous4-Feb-04 0:03
Anonymous4-Feb-04 0:03 

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.