Article ID: 104141 - Last Review: October 15, 2002 - Revision: 1.0

FIX: SR2TEST GP Faults During Object Shutdown

This article was previously published under Q104141
Expand all | Collapse all

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.

APPLIES TO
  • Microsoft OLE 2.0
Keywords: 
kbbug kbfix KB104141
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations