PythonWin -- COM server won't change???

Steve Holden steve at holdenweb.com
Sat Oct 30 09:04:27 CEST 2004


U-CDK_CHARLES\Charles wrote:

> List:
> 
> I made a small change to a COM server under PythonWin.
> 
> I unregistered, then reregistered the server.
> 
> But the old version is still being invoked.
> 
> Did I miss a step:
> 
> Code follows.
> 
Well, for example, if it's currently mapped into a process you'll have 
to somehow get that process to reload() the module. I can't remember 
offhand what the default is, btu I know that the only way I can pick up 
a re-registered object under IIS is to have a web page import and then 
reload() the module that the COM server is defined in. Kinda yucky, but 
it works, don't know whether it'll help you.

regards
  Steve
-- 
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119



More information about the Python-list mailing list