Good evening!

I have troubles with dynamic COM.

I made, with PyWin, a dynamic extension of my COM-server.

If I call the COM-server since VB-Script, it is OK, with the names of 
functions (call) in small letters.

If I call the COM-server since ObjectPAL (Paradox), it is OK, with the names 
of functions (call) converted in capital letters.

If I call the COM-server since Javascript, it is OK, with the names of 
functions (call) in small letters.



BUT, if I call the COM-server since Python, no parameter sended!. The names 
of functions are in small letters, but no other parameter is transmitted. 
To check, I supervised the line:
        def _dynamic_(self, name, lcid, wFlags, args):

I tested Dispatch, DispatchEx, dynamic.Dispatch, without more success.

It should be noted that, if I remove the line:
        _ reg_policy_spec _ = "DynamicPolicy"
The problem disappears.


My question: how to use (call functions with parameters) a (my) 
dynamic-COM-server-Python, since Python?

Last infos : Python 2.4.2 ;  PyWin32 205 ; Win-XP-SP2 ; Bedside's book: 
"Programming Python on win32".

Thank you in advance, for any answer


Michel Claveau


_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to