Re: [python-win32] Parameterless propget in Python ActiveScript incomplete

2006-10-27 Thread Johan Lindvall
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 u

[python-win32] Parameterless propget in Python ActiveScript incomplete

2006-10-26 Thread Johan Lindvall
Hi, I believe a parameterless propget doesn't work as it should. Consider the following interfaces: interface IObject2: IDispatch { [id(1), propput] HRESULT AttValue ( [in] BSTR attr, [in] VARIANT newVal); [id(1), propget] HRESULT AttValue ( [in] BSTR attr, [out, retval] VARIANT *pVal