Select the product you need help with
BUG: Error message when an MFC application contains an event handler that uses the CRichEditView::FindText method or the CRichEditView::FindTextSimple method in Visual Studio 2005: "Debug Assertion Failed"Article ID: 922318 - View products that this article applies to. On This PageSYMPTOMSConsider the following scenario:
Debug Assertion Failed! Program: ... File: f:\rtm\vctools\vc7libs\ship\atlmfc\src\mfc\viewrich.cpp Line: 1677 WORKAROUNDTo work around this problem, call the CRichEditView::TextNotFound method immediately after a call to the CRichEditView::FindText method or to the CRichEditView::FindTextSimple method returns false. The CRichEditView::TextNotFound method resets the internal search state of the CRichEditView class instance. The following code example demonstrates how to use the CRichEditView::TextNotFound method. STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed in the "Applies to" section. MORE INFORMATIONSteps to reproduce the problem
REFERENCESFor more information about the CRichEditView class, visit the following Microsoft Developer Network (MSDN) Web
site: http://msdn2.microsoft.com/en-us/library/bcb28z09.aspx For more information about the CRichEditView::TextNotFound method, visit the following MSDN Web site:
(http://msdn2.microsoft.com/en-us/library/bcb28z09.aspx)
http://msdn2.microsoft.com/en-gb/library/aa990833(vs.80).aspx
(http://msdn2.microsoft.com/en-gb/library/aa990833(vs.80).aspx)
PropertiesArticle ID: 922318 - Last Review: January 12, 2007 - Revision: 1.1 APPLIES TO
|


Back to the top








