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

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 715991 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 12/29/2011 11:45:37 PM
Access Restriction Public
Moderator Decision Sent to Engineering Team for consideration

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.
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)