Home Dashboard Directory Help
Search

CMFCButton causes memory leak by vc6fan


Status: 

Closed
 as Fixed Help for as Fixed


4
0
Sign in
to vote
Type: Bug
ID: 577870
Opened: 7/23/2010 3:04:14 PM
Access Restriction: Public
0
Workaround(s)
view
1
User(s) can reproduce this bug

Description

Adding an "MFC Button" control in a VC++ dialog causes memory leak upon exit.
Details
Sign in to post a comment.
Posted by vc6fan on 8/11/2010 at 2:10 PM
I tried your suggestion and the memory leak error message went away. Thank you very much.
Posted by Microsoft on 8/10/2010 at 2:42 PM
Hello,

Thanks for the report. This has been fixed in MFC for a future release of Visual Studio. In the meantime, as a workaround, make sure to call ControlBarCleanUp from your application class ExitInstance method.

Pat Brenner
Visual C++ Libraries Development
Posted by Microsoft on 7/24/2010 at 7:08 PM
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.