Hi Alistair,
On 09/21/12 14:12, Alistair Leslie-Hughes wrote:
> Hi,
>
>
> Changelog:
> scrrun: Correct Invoke parameter
>
--- a/dlls/scrrun/dictionary.c
+++ b/dlls/scrrun/dictionary.c
@@ -153,7 +153,7 @@ static HRESULT WINAPI dictionary_Invoke(IDictionary *iface, DISPID dispIdMember,
hr = get_typeinfo(IDictionary_tid, &typeinfo);
if(SUCCEEDED(hr))
{
- hr = ITypeInfo_Invoke(typeinfo, &iface, dispIdMember, wFlags,
+ hr = ITypeInfo_Invoke(typeinfo, This, dispIdMember, wFlags,
pDispParams, pVarResult, pExcepInfo, puArgErr);
This really should be an interface, not an object. &This->IDistionary_iface or simply iface would be the right thing to do.
Jacek