Home Dashboard Directory Help
Search

Any default single document application type with MFC standard project style always crashes by aljodAv


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 715991
Opened: 12/29/2011 11:45:37 PM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

Any default single document application type with MFC standard project style crashes, always, because the variable (pointer type) pDockBar calculated inside CFrameWnd::DockControlBar(...), results in a NULL pointer.
I've included a zipped file with 4 images that shows all main steps, from the wizard up to the line causing the failing assertion.
The Visual Studio solution used is a default single document application type with MFC standard project style. No code was added to the solution, it was built and run. Immediately the "debug assertion failed" dialog box showed up.
Only the single document application type with MFC standard project style causes the assertion failure.
Any other project style does not cause assertion failure.
Multiple documents also don't cause assertion failure.
Details
Sign in to post a comment.
Posted by Microsoft on 1/11/2012 at 3:51 PM
Hello,

Thanks for the report. This issue has been fixed in the MFC application wizard for the next major release of Visual Studio.

Pat Brenner
Visual C++ Libraries Development
Posted by MS-Moderator09 [Feedback Moderator] on 12/30/2011 at 12:45 AM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 12/30/2011 at 12:43 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
Images.zip 12/29/2011 985 KB
MFCApplication1.zip 12/30/2011 139 KB