Fixed exception

This commit is contained in:
Vulpovile
2020-03-13 10:42:30 -07:00
parent cee1b1308c
commit 3f4963795c
4 changed files with 4 additions and 2 deletions

2
ax.cpp
View File

@@ -505,7 +505,7 @@ HRESULT _stdcall AXClientSite :: Invoke(
EXCEPINFO FAR* pExcepInfo,
unsigned int FAR* puArgErr)
{
IEBrowser * browser = (IEBrowser *)GetWindowLongPtr(Window,GWL_USERDATA);
IEBrowser * browser = (IEBrowser *)GetWindowLongPtr(Window,GWL_USERDATA+1);
return browser->doExternal(m_lastExternalName,dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
//return S_OK;