On 12/19/2012 17:22, Jacek Caban wrote:
On 12/19/12 08:24, Nikolay Sivov wrote:
Add custom handling for DISPID_VALUE for node map
If this has to be done for all IDispatchEx objects with DISPID_VALUE, it may be worth considering changing dispex.c. Something like:
if(id == DISPID_VALUE && wFlags == DISPATCH_METHOD) wFlags |= DISPATCH_PROPERTYGET;
before ITypeInfo::Invoke call should do the trick and replace both this patch and already committed node list patch.
Sure, I thought about that too. First one was to fix an open bug, and to do this for all interfaces I'll need tests for everything with DISPID_VALUE, but you're right node map patch could wait for now.
Cheers, Jacek