Re: [python-win32] Problem to call COM-dynamic-server ; resolved

2006-05-09 Thread Michel Claveau
Hi! (*sorry, but translate with Babelfish help*, because my english is too bad) I finally solved my problem, by intercepting/modifying several things on the server side. However, several information could be useful for you: - The calls with multiple points are refused by Python. example

Re: [python-win32] Problem to call COM-dynamic-server

2006-05-08 Thread Mark Hammond
> >>> Please post the complete source for the *smallest possible* > >>> server and client that demonstrates your problem... > > OK. > But my original source has more than 7000 lines. > That will take a certain time (that is added to my work). Welcome to my world! :) > For info, the call of the i

Re: [python-win32] Problem to call COM-dynamic-server

2006-05-08 Thread Michel Claveau
Re-Hi! >>> Please post the complete source for the *smallest possible* server and >>> client that demonstrates your problem... OK. But my original source has more than 7000 lines. That will take a certain time (that is added to my work). For info, the call of the instance-methods run correctly

Re: [python-win32] Problem to call COM-dynamic-server

2006-05-08 Thread Mark Hammond
I'm afraid that without working code I can only guess... > Here, a traceback : > > pythoncom error: Python error invoking COM method. > > exceptions.TypeError: Objects of type 'instancemethod' can not be > converted > to a > COM VARIANT > Traceback (most recent call last): > File "D:\dev\python

[python-win32] Problem to call COM-dynamic-server

2006-05-08 Thread Michel Claveau
Hello, all ! I have a problem, when I "dispatch" a dynamic server (writed with Pywin32). When I call an instance method (with points in the name), the server receive, like wFlags, pythoncom.DISPATCH_PROPERTYGET, instead of pythoncom.DISPATCH_METHOD. For the call of a property of a class, it's