Thomas,

 

We came across an interesting issue this morning when we register our
COM servers. It looks like register.py automatically uses sys.executable
to register the COM object. In our case we have written a service that
autoupdates the user's application. The problem is that the register
function is being called by pythonservice.exe and not python.exe or
pythonw.exe. This is causing crashes when you use the com object. Our
fix is simple, can you please add an optional parameter to register.py
to allow the executable to be passed. The changed register.py is
attached.

Attachment: register.py
Description: register.py

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to