dolphinsmalltalk/DolphinVM

Windowed Active-X controls written in MFC cause AVs when hosted in Dolphin's Ax host

Closed this issue · 1 comments

The standard Dolphin AX host is derived from the ATL ActiveX host. This has a bug whereby it calls
IOleInPlaceObject::SetObjectRects from its implementation of IOleInPlaceSiteEx::OnInPlaceActivateEx. When this call is made the MFC control infrastructure has not yet created the actual window, and the MFC SetObjectRects implementations then offsets off a null Window this pointer consistently causing an error attempting to read memory at offset 0x20.

Fixed by 7663234