Re: Creating object inside an ISAPI DLL - does registry settings required?
From: Alexander Nickolov (agnickolov_at_mvps.org)
Date: 06/26/04
- Next message: Mindaugas Bliudzius: "Property page in VB at run-time"
- Previous message: Alexander Nickolov: "Re: Extending ATL COM Object Dual Interfaces"
- In reply to: Jennifer Lopez: "Creating object inside an ISAPI DLL - does registry settings required?"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 26 Jun 2004 14:25:11 -0700
Yes, you are correct. In addition, IDispatchImpl can _only_
be used to implement dual interfaces. Any other kind of dispatch
interface needs hand-coding in ATL.
-- ===================================== Alexander Nickolov Microsoft MVP [VC], MCSD email: agnickolov@mvps.org MVP VC FAQ: http://www.mvps.org/vcfaq ===================================== "Jennifer Lopez" <jen.lo@changepoint.com> wrote in message news:erj91%235WEHA.2840@TK2MSFTNGP11.phx.gbl... > Hi all, > > I have a legacy ActiveX control and now I want to implement an ISAPI > extension DLL which read parameters from the query string and generate > images sending back to browsers. I am thinking adding function on top of the > ActiveX implementation so the same DLL can server both purposes (that will > save a lot of maintenance work!). Considering that many web server are > running in the shared space, I want to make the system impact minimum (i.e. > the ISAPI Dll does not utilize any sytem resources such as registry). > > I am able to create the object directly by calling something like this: > CComObjectStack<CMyActiveXControl> object; > > In this way the ActiveX dll need not registered. In the next step I want to > be able to call the IDispatch interface on this object, passing the > properties received from the query string/form fields. I wonder whether it > is possible to do this without registering the object - it looks that the > ATL IDispatch implementation is based on type library, which requires > registration. > > Any one can tell me my assertion here is correct? Thanks a lot. > > > >
- Next message: Mindaugas Bliudzius: "Property page in VB at run-time"
- Previous message: Alexander Nickolov: "Re: Extending ATL COM Object Dual Interfaces"
- In reply to: Jennifer Lopez: "Creating object inside an ISAPI DLL - does registry settings required?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|