FIX: You receive a debug assertion when a Windows Forms control is hosted on an MFC form in Visual Studio .NET 2002 (831699)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition
  • The Microsoft Foundation Classes (MFC)

SYMPTOMS

If a Microsoft Windows Forms control is hosted on a Microsoft Foundation Classes (MFC) form in Microsoft Visual Studio .NET 2002, you receive a debug assertion at line 955 in the Occcount.cpp file. If you ignore this assertion, you receive an access violation error message.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, 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 hotfix has the file attributes (or later file attributes) 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
   --------------------------------------------------------------
   07-Nov-2003  18:38                     14,546  Atl.lib
   07-Nov-2003  18:38  7.0.9747.0         84,992  Atl70.dll        
   07-Nov-2003  18:38                     48,090  Atlmincrt.lib
   07-Nov-2003  18:38                    934,264  Atls.lib
   07-Nov-2003  18:38                  1,003,888  Atlsd.lib
   07-Nov-2003  19:50                    282,816  Eafxis.lib
   07-Nov-2003  19:50                    273,800  Eafxisd.lib
   07-Nov-2003  20:38  7.0.9747.0      1,028,096  Mfc70.dll        
   07-Nov-2003  19:56                  2,287,020  Mfc70.lib
   07-Nov-2003  20:07  7.0.9747.0         40,960  Mfc70chs.dll     
   07-Nov-2003  20:07  7.0.9747.0         45,056  Mfc70cht.dll     
   07-Nov-2003  19:54  7.0.9747.0      2,072,576  Mfc70d.dll       
   07-Nov-2003  19:54                  3,066,694  Mfc70d.lib
   07-Nov-2003  20:07  7.0.9747.0         61,440  Mfc70deu.dll     
   07-Nov-2003  20:07  7.0.9747.0         57,344  Mfc70enu.dll     
   07-Nov-2003  20:07  7.0.9747.0         61,440  Mfc70esp.dll     
   07-Nov-2003  20:07  7.0.9747.0         61,440  Mfc70fra.dll     
   07-Nov-2003  20:07  7.0.9747.0         61,440  Mfc70ita.dll     
   07-Nov-2003  20:07  7.0.9747.0         49,152  Mfc70jpn.dll     
   07-Nov-2003  20:07  7.0.9747.0         49,152  Mfc70kor.dll     
   07-Nov-2003  20:28  7.0.9747.0      1,017,344  Mfc70u.dll       
   07-Nov-2003  20:00                  3,042,324  Mfc70u.lib
   07-Nov-2003  19:56  7.0.9747.0      2,066,944  Mfc70ud.dll      
   07-Nov-2003  19:58                  3,978,842  Mfc70ud.lib
   07-Nov-2003  20:14                    505,780  Mfcs70.lib
   07-Nov-2003  19:54                    526,960  Mfcs70d.lib
   07-Nov-2003  20:15                    452,554  Mfcs70u.lib
   07-Nov-2003  19:56                    468,956  Mfcs70ud.lib
   07-Nov-2003  19:50                 16,468,248  Nafxcw.lib
   07-Nov-2003  19:50                 16,598,814  Nafxcwd.lib
   07-Nov-2003  19:50                    122,026  Nafxis.lib
   07-Nov-2003  19:50                    123,608  Nafxisd.lib
   07-Nov-2003  19:53                 16,743,758  Uafxcw.lib
   07-Nov-2003  19:52                 17,032,228  Uafxcwd.lib

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MinorLast Reviewed:10/18/2005
Keywords:kbvs2002sp1sweep kbQFE kbfix kbbug KB831699 kbAudDeveloper kbAudITPRO