Re: [python-win32] COM server AddIn

2005-07-07 Thread Johannes Brunen
Hi Mark, "Mark Hammond" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Glad you spotted that - if you feel there is something I could add to the > docs or examples to make that error less likely in the future, please let > me > know. For me a well written example with suffic

Re: [python-win32] COM server AddIn

2005-07-07 Thread Mark Hammond
Glad you spotted that - if you feel there is something I could add to the docs or examples to make that error less likely in the future, please let me know. > Two questions remains: > 1.) The following code line seems to be unnecessary. The > AddIn sever works > without it as well. What is > the i

Re: [python-win32] COM server AddIn

2005-07-07 Thread Johannes Brunen
Hi Mark, now I have made some progress! Using the win32traceutil worked well. However the real essential part was the addition of the _typelib_guid_ variable to the server class. Below, I have added the working example. Could you confirm that this is the proper way of using the modules? Two que

Re: [python-win32] COM server AddIn

2005-07-06 Thread Mark Hammond
> unfortunately I do not make any progress. The trace collector > gives me the > following output. > > Object with win32trace dispatcher created (object=None) > pythoncom error: Failed to call the universal dispatcher > > Traceback (most recent call last): > File > "C:\Programme\Python\Lib\site-p

Re: [python-win32] COM server AddIn

2005-07-06 Thread Johannes Brunen
Hi Mark, unfortunately I do not make any progress. The trace collector gives me the following output. Object with win32trace dispatcher created (object=None) pythoncom error: Failed to call the universal dispatcher Traceback (most recent call last): File "C:\Programme\Python\Lib\site-packages

Re: [python-win32] COM server AddIn

2005-07-05 Thread Mark Hammond
> This won't work! I can't start this COM server from my application. > > First some questions: Do I have to write _public_methods_ = > ['Init', 'Exit'] in order to satisfy the required interface > ICADdyAddIn? No - but _public_methods_ must exist (ie, your code is fine) > How do I handle the

[python-win32] COM server AddIn

2005-07-05 Thread Johannes Brunen
Hi, I have a problem implementing a simple COM server AddIn which should satisfy a special COM interface provided by an application I'm using. The server application: CADdy.exe => type library CADdy.tlb The AddIn interface of CADdy.tlb: ICADdyAddIn From gencache.EnsureModule('{9C3BB401-114D-1