FIX: Exception in DrawCli When Displaying Summary Information
This article was previously published under Q153963 SYMPTOMS
When displaying the Summary Info for an existing DrawCli file with
Summary Info saved, DrawCli may crash with the following error:
Unhandled Exception : Access Violation
DrawCli is an MFC OLE sample that is shipped with Visual C++.
CAUSE
CSummInfo::ReadFromStorage does not set CSummInfo::m_pSection. This
behavior leaves a dangling pointer into memory that has been deleted.
RESOLUTION
Modify the ReadFromStorage as follows:
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. This bug was corrected in
Visual C++ version 4.2.
APPLIES TO
| Article Translations
|
Back to the top
