Hi,

I have investigated this issue further.

The problem seems to be that LazyDispatchItem doesn't remap the
properties as DispatchItem does. If I disable the LazyDispatchItem
generation in MakeOleRepr and always return a DispatchItem object, the
script works as expected.

If I leave MakeOleRepr untouched and use the original property name:

obj1.Object2.AttValue("TEST", 123)

then I get another the following error from Python:

TypeError: AttValue() takes at most 2 arguments (3 given).


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

Reply via email to