Re: ATL and COM+
From: Tom Alter (Lord2702_at_MSN.com)
Date: 03/13/05
- Next message: Egbert Nierop \(MVP for IIS\): "Re: ATL and COM+"
- Previous message: TxITGuy: "Re: ATL component freezes after destructor"
- In reply to: Egbert Nierop \(MVP for IIS\): "Re: ATL and COM+"
- Next in thread: Egbert Nierop \(MVP for IIS\): "Re: ATL and COM+"
- Reply: Egbert Nierop \(MVP for IIS\): "Re: ATL and COM+"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 13 Mar 2005 12:14:22 -0800
All those attributes that you have applied are all standard and get applied when you
create the ATL wizard with attributed project, but my simple question to use, how to set
the Min-Max- and Timeout of ObjectPooling as attribute? Do you know any attribute for
this, or lets say, I want to specify, Library, or Server, or put the name of my
application, or Transaction supported, required, all these things are not possible thru'
attribute, it is possible ONLY wit applying the appropriate interfaces, and that is
ATL/COM/COM+. Your comments please.
"Egbert Nierop (MVP for IIS)" <egbert_nierop@nospam.invalid> wrote in message
news:OShums6JFHA.484@TK2MSFTNGP15.phx.gbl...
> "Tom Alter" <Lord2702@MSN.com> wrote in message
> news:Oi79uefJFHA.2628@tk2msftngp13.phx.gbl...
> > Hello:
> > Platform: WinXP, VSIDE 2003.Net
> > This is not a dot net question, no managed C++.
>
>
> Here you have a sample. b.t.w. I won't repeat comments already made by the
> other.
> [ coclass,
>
> threading(threading=both),
>
> support_error_info("INWCSession"),
>
> aggregatable(type=allowed),
>
> vi_progid("YourProg.ID"),
>
> progid("YourProg.ID.1"),
>
> version(1.0),
>
> uuid("D64ABC71-2C0E-1E85-12CD-215B93CAC996"),
>
> custom(TLBATTR_TRANS_NOTSUPP,0), //this is your only 'advanced stuff'
>
> helpstring("Blah di blah descriptoin")]
>
>
> class ATL_NO_VTABLE CYourComPlusClass:
>
> public IYourComPlusClass,
>
> public IObjectControl
>
> {
>
> public:
>
> DECLARE_PROTECT_FINAL_CONSTRUCT()
>
> HRESULT FinalConstruct()
>
> {
>
> }
>
> void FinalRelease()
>
> {
>
> }
>
> private:
>
>
>
>
> };
>
> etc
>
> > I want to create an ATL COM+ component, a simple object, in C++, I created
> > it
> > successfully, but how do I install it in to the COM+ node, of the
> > component services?
> > Is there any attribute, that can be use to specify the ObjectPool: min and
> > max size and
> > the Timeout, also how to specify the default construct string, through
> > attribute? or with
> > attribute it is not possible at all?
> > Please provide me some links to use the COM+ component with attributes. I
> > mean COM+
> > attributes, like objectpooling, JIT, ConstructString. I applied the
> > appropriate
> > interfaces, but looking for the attributes to configure it.
> > I appreciate your response.
> >
> >
>
- Next message: Egbert Nierop \(MVP for IIS\): "Re: ATL and COM+"
- Previous message: TxITGuy: "Re: ATL component freezes after destructor"
- In reply to: Egbert Nierop \(MVP for IIS\): "Re: ATL and COM+"
- Next in thread: Egbert Nierop \(MVP for IIS\): "Re: ATL and COM+"
- Reply: Egbert Nierop \(MVP for IIS\): "Re: ATL and COM+"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|