FIX: SR2TEST GP Faults During Object Shutdown

ID: Q104141


The information in this article applies to:
  • Microsoft OLE Libraries for Windows and Win32s, version 2.0


SYMPTOMS

A general protection (GP) fault occurs when calling IOleObject::Close() on an SR2TEST object.


CAUSE

SR2TEST does not properly handle the case in which IOleObject::Close() is called after OleInPlaceObject::UIDeactivate() without first calling IOleInPlaceObject::InPlaceDeactivate().


RESOLUTION

Call IOleInPlaceObject::InPlaceDeactivate() before calling IOleObject::Close.


STATUS

Microsoft has confirmed this to be a problem in OLE version 2.0. This problem was corrected in OLE version 2.01.

Additional query words: 2.00 gpf gp-fault kbfixlist kbbuglist

Keywords : kbole kbOLE200bug kbGrpCom kbDSupport
Version : WINDOWS:2.0
Platform : WINDOWS
Issue type :


Last Reviewed: October 26, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.