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

ATL / WTL / STL

 
GeneralRe: Attaching string wrapper to preallocated string Pin
Michael Dunn22-Feb-04 5:55
sitebuilderMichael Dunn22-Feb-04 5:55 
QuestionIDocHostUIHandler::ShowUI?? Pin
Abhi Lahare20-Feb-04 19:10
Abhi Lahare20-Feb-04 19:10 
GeneralBHO reading HTML input value Pin
macattack20-Feb-04 10:53
macattack20-Feb-04 10:53 
GeneralRe: BHO reading HTML input value Pin
Michael Dunn20-Feb-04 17:12
sitebuilderMichael Dunn20-Feb-04 17:12 
GeneralBuild ATL Server problem Pin
Member 4337820-Feb-04 3:28
Member 4337820-Feb-04 3:28 
GeneralRe: Build ATL Server problem Pin
macattack20-Feb-04 10:57
macattack20-Feb-04 10:57 
GeneralRe: IObjectWithSite in ATL Object Wizard Pin
Abhi Lahare19-Feb-04 22:21
Abhi Lahare19-Feb-04 22:21 
GeneralIObjectWithSite in ATL Object Wizard Pin
Abhi Lahare19-Feb-04 19:42
Abhi Lahare19-Feb-04 19:42 
Hi All,

I am trying to Implement a "Simple Object" interface through ATL Object Wizard. But i am wondering there is no option of

IObjectWithSite (IE object support) in the ATL Object Wizard dialog, I am using VC6.0.
Is this option avaiable only with VC7.0 because i know lot of people talk about that, also MSDN doc listed this interface in the
support list for simple object.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcurfattributesatlsimpleobjectwizard.asp[^]
Also I have another question.

If i derived a interface from two interfaces (IObjectWithSite ) and (IDocHostUIHandler). the complier gives me following
error

I have following code
<br />
// CtempInterface<br />
class ATL_NO_VTABLE CtempInterface : <br />
	public CComObjectRootEx<CComSingleThreadModel>,<br />
	public CComCoClass<CtempInterface, &CLSID_tempInterface>,<br />
	public IConnectionPointContainerImpl<CtempInterface>,<br />
	public IDispatchImpl<ItempInterface, &IID_ItempInterface, &LIBID_TESTTHISLib>,<br />
	public IDocHostUIHandler //added manually<br />
{<br />
//...<br />
};<br />

c:\program files\microsoft visual studio\vc98\atl\include\atlcom.h(1827) : error C2259: 'CComObject<class ctempinterface="">' : 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="" ctempinterface=""> >::CreateInstance(void *,const struct _GUI
D &,void ** )'

Can anyone help me?

Thanks
Abhishake
GeneralRe: IObjectWithSite in ATL Object Wizard Pin
Jörgen Sigvardsson19-Feb-04 21:42
Jörgen Sigvardsson19-Feb-04 21:42 
GeneralAtrocious template library Pin
Anonymous19-Feb-04 5:48
Anonymous19-Feb-04 5:48 
GeneralRe: Atrocious template library Pin
Daniel Turini19-Feb-04 5:55
Daniel Turini19-Feb-04 5:55 
GeneralRe: Atrocious template library Pin
Jörgen Sigvardsson19-Feb-04 7:16
Jörgen Sigvardsson19-Feb-04 7:16 
GeneralRe: Atrocious template library Pin
Balkrishna Talele24-Feb-04 0:09
Balkrishna Talele24-Feb-04 0:09 
Questionhow to pass activeX control as parameter from client to server? Pin
hongzterr19-Feb-04 5:17
susshongzterr19-Feb-04 5:17 
GeneralCreateFromFile() ,CreateFromClipboard(),CreateFromData() Pin
anshumanshinde18-Feb-04 1:02
anshumanshinde18-Feb-04 1:02 
GeneralRe: CreateFromFile() ,CreateFromClipboard(),CreateFromData() Pin
Anonymous19-Feb-04 13:04
Anonymous19-Feb-04 13:04 
GeneralRe: CreateFromFile() ,CreateFromClipboard(),CreateFromData() Pin
anshumanshinde19-Feb-04 18:06
anshumanshinde19-Feb-04 18:06 
Generalagain, Using COM+ services Pin
Roozbeh6917-Feb-04 20:31
professionalRoozbeh6917-Feb-04 20:31 
GeneralRe: Using COM+ services Pin
Steve S17-Feb-04 22:12
Steve S17-Feb-04 22:12 
GeneralRe: Using COM+ services Pin
Steve S18-Feb-04 1:59
Steve S18-Feb-04 1:59 
GeneralExposing struct as method parameter Pin
alex120517-Feb-04 19:42
alex120517-Feb-04 19:42 
GeneralRe: Exposing struct as method parameter Pin
ian mariano22-Feb-04 12:18
ian mariano22-Feb-04 12:18 
GeneralRe: Exposing struct as method parameter Pin
alex120522-Feb-04 17:16
alex120522-Feb-04 17:16 
GeneralRe: Exposing struct as method parameter Pin
ian mariano24-Feb-04 11:00
ian mariano24-Feb-04 11:00 
GeneralATL link errors in Direct Show samples (DX9 SDK ) Pin
Admiral Quality17-Feb-04 4:07
Admiral Quality17-Feb-04 4:07 

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.