AW: [python-win32] com server instantiation mess

Sprinzing, Thomas Thomas.Sprinzing at bielomatik.de
Mon Nov 22 11:18:58 CET 2004


 


> Von: Niki Spahiev [mailto:niki at vintech.bg] 

> 
> try
> 
> self.logger=logging.getLogger('myloggerA')
> 
> for first object and
> 
> self.logger=logging.getLogger('myloggerB')
> 
> for second object


I already did what you mean within my jscripts:

var Logger=new ActiveXObject("Bielo.Logger");

And in the other thread:

var LoggerB=new ActiveXObject("Bielo.Logger");


Where Bielo.Logger is the com object distributed by the Pythonscript i
posted before.

I thought COM is about re-use of a component within different progams on one
computer. So i hope, i do not have to write two com servers-which surely
would solve my special prblem now, but wouldn't be a cure for the real
cause.

Bye

Thomas 


More information about the Python-win32 mailing list