IID and CLSCTX_INPROC_SERVER

Steve Holden sholden at holdenweb.com
Tue Jan 15 07:59:21 EST 2002


"Steve Holden" <sholden at holdenweb.com> wrote in message
news:JyV08.14082$Ot.850163 at atlpnn01.usenetserver.com...
> "Alex Martelli" <aleax at aleax.it> wrote in message
> news:a20sln$qf7$1 at serv1.iunet.it...
> > "Steve Holden" <sholden at holdenweb.com> wrote in message
> > news:mVH08.753$Ot.109568 at atlpnn01.usenetserver.com...
> [ ... COM talk ...]
> >
> > > Can someone tell me a) whether it's possible to re-initialise with a
new
> > > object definition without rebooting, and/or b) whether this situation
> will
> > > be alleviated if I move to using CLSCTX_LOCAL_SERVER?
> >
> > You may forcibly kill an out-of-process server, but that's liable to
> > crash a client not prepared for such occurrences.  Having coded lots
> > of both clients and servers, I think it's far easier for a client to
> > have an explicit flush of DLLs than for it to survive a crashed server.
> >
> Thanks, Alex. So now my question becomes "Does anyone know how to make IIS
> flush its DLLs so I don't have to restart the whole system to get new
Python
> COM objects loaded?".
>
> regards
>  Steve

Besides stopping the service, that is. The customer would rather reboot than
stop the service, I can't for the life of me remember why now.

> --
> http://www.holdenweb.com/
>
>
>
>
>





More information about the Python-list mailing list