To use a Scripting.Dictionary, here goes an example code:
>>> from win32com.client import Dispatch
>>> d = Dispatch('Scripting.Dictionary')
>>> d.Add('key1', 'Value1')
>>> d.Add('key2', 2)
>>> d.Add(3, 'V
The Python dict object is not a compatible COM object, you need to use
a COM compatible dictionary. You can develop one or use the
Scripting.Dictionary:
http://windowssdk.msdn.microsoft.com/en-us/library/x4k5wbx4.aspx
Rodrigo Strauss
On 7/22/06, hari haran <[EMAIL PROTECTED]> wrote:
>
vents_class, user_event_class), {"__setattr__" : _event_setattr_})
TypeError: instance() takes at most 2 arguments (3 given)
Looking at win32com code, it says it's ok to create a circular
reference between sink and object, as long as I brea
e, but AFAIK VB doesn't need the IDispatch, as far as
the component provide a type library and oleautomation types.
Mark: can dispatch-less objects be used from win32com?
Rodrigo Strauss
On 7/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to use pyw