A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/086445.html below:

Python COM and IDispatchEx

Python COM and IDispatchEx Python COM and IDispatchExMark Hammond MarkH at ActiveState.com
Sat Apr 14 08:52:34 EDT 2001
Donavon Keithley wrote:

> I see that Python server objects expose IDispatchEx, but they don't seem to

> support expando behavior.  The following attempt to add a member returns

> "member not found" (where pDispEx points to a Python object):

> 

> DISPID id;

> HRESULT hr = pDispEx->GetDispID(CComBSTR("NewMember"), fdexNameEnsure, &id);

> 

> Am I doing something wrong?


Nope.


> It seems that, in principle, Python objects should map pretty cleanly to

> IDispatchEx and vice versa.  Is this planned for future versions?


It should map nicely.  It is just that no one has done it, and no one 
really seems to be asking for it.  If you are interested I would be 
happy to coordinate some patches...

Mark.



More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4