[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

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

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
> >>> 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

[python-win32] how to only accept local computer requests

2006-05-08 Thread Michael Li
Hi, I have a python server with twisted framework running 24x7. I want to have a config file to setup accepting local computer requests or remote computer requests. If the config file exists, it only accepts local computer request, does not accept requests from other computers. If the config file

Re: [python-win32] how to only accept local computer requests

2006-05-08 Thread Gabriel Genellina
At Monday 8/5/2006 10:38, Michael Li wrote: I have a python server with twisted framework running 24x7. I want to have a config file to setup accepting local computer requests or remote computer requests. If the config file exists, it only accepts local computer request, does not accept requests