FIX: Assert in Winocc.cpp, Line 331
ID: Q216850
|
The information in this article applies to:
-
Microsoft Visual C++, 32-bit Editions, version 6.0
SYMPTOMS
This problem occurs when running an application generated by the Microsoft Foundation Classes (MFC) AppWizard in Visual C++ 6.0 with the following features:
- MFC AppWizard - Step 1: Select Single Document.
- MFC AppWizard - Step 1: Clear Document/View architecture support.
- MFC AppWizard - Step 4: Clear Docking toolbar.
- MFC AppWizard - Step 4: Clear Inital status bar.
The following error occurs after building and executing the application:
Debug Assertion Failed!
Program: <path>\<name>.exe
File: winocc.cpp
Line: 331
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
MORE INFORMATIONSteps to Reproduce the Behavior
- From the Visual C++ 6.0 File menu, click New.
- Select MFC AppWizard (Exe), name the project, and click OK.
- In MFC AppWizard - Step 1, select Single document and clear Document/View architecture support.
- In MFC AppWizard - Step 2, accept the default options.
- In MFC AppWizard - Step 3, accept the default options.
- In MFC AppWizard - Step 4, clear Docking toolbar and Initial status bar.
- Click Finish, and build the project.
- Run the application.
Additional query words:
Keywords : kbservicepack kbide kbVC600bug kbAppWizard kbVS600sp2 kbVS600SP1 kbVS600sp3fix kbGrpDSTools
Version : winnt:6.0
Platform : winnt
Issue type : kbbug
|