Access violation when you type mnemonic on property page with ActiveX control

This article was previously published under Q323494
This article has been archived. It is offered "as is" and will no longer be updated.
When you type the mnemonic of a control on a property page when an ActiveX control also exists on that property page, a Microsoft Foundation Classes (MFC) application may generate an access violation.

In a debug build, you receive a debug assertion with following information:
Debug Assertion Failed!

Program: .MFCApp.exe
File: occdlg.cpp
Line: 138

Service pack information

To resolve this problem, obtain the latest service pack for Micorsoft Visual Studio .NET. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
837234 List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio .NET service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version        Size        File Name   --------------------------------------------------------------   04-Jun-2002  03:33  7.0.9503.0        974,848  Mfc70.dll   04-Jun-2002  02:49  7.0.9503.0      1,933,312  Mfc70d.dll   04-Jun-2002  03:22  7.0.9503.0        964,608  Mfc70u.dll   04-Jun-2002  02:51  7.0.9503.0      1,927,680  Mfc70ud.dll   04-Jun-2002  02:45                 16,465,604  Nafxcw.lib   04-Jun-2002  02:45                 16,601,072  Nafxcwd.lib   04-Jun-2002  02:48                 16,740,960  Uafxcw.lib   04-Jun-2002  02:48                 17,034,478  Uafxcwd.lib				
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Visual Studio .NET 2002 Service Pack 1.

Article ID: 323494 - Last Review: 10/26/2013 17:12:40 - Revision: 3.3

Microsoft Foundation Class Library 4.2

  • kbnosurvey kbarchive kbhotfixserver kbqfe kbvs2002sp1fix kbvs2002sp1sweep kbbug kbfix kbqfe kbvsnetpresp1fix KB323494