access violation in afxcustomizemenubutton.cpp - by Vardenis

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.

Sign in
to vote
ID 611434 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 10/7/2010 8:07:05 AM
Access Restriction Public


memory read access violation at the lines:
				CMFCCustomizeMenuButton* pBtn = (CMFCCustomizeMenuButton*)pMenuBar->GetButton(i);
				if ((pBtn->m_uiIndex >= nNewIndex) && (pBtn->m_uiIndex != ID_AFXBARRES_TOOLBAR_RESET_PROMT))

The violation is because the button is incorrectly casted to the CMFCCustomizeMenuButton, while it is CMFCToolBarButton.
Sign in to post a comment.
Posted by Vardenis on 11/3/2010 at 1:25 PM
Would it be possible to get the fix as a hotfix for VS2010?
Posted by Microsoft on 11/3/2010 at 10:44 AM

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

Pat Brenner
Visual C++ Libraries Development
Posted by Microsoft on 10/29/2010 at 1:16 AM
Thank you for uploading the dump again and again. We have sent it to appropriate group within the Visual Studio Product Team for investigation. These specialized experts will follow-up with your issue.
Posted by Microsoft on 10/27/2010 at 2:40 AM
We are very sorry to say that we don't see your attachment in the mentioned workspace.
And we create a new workspace, could you please try to upload it again?

Sorry again for the inconvenience.
Posted by Vardenis on 10/25/2010 at 2:56 AM
Posted by Microsoft on 10/25/2010 at 2:10 AM
Hi [vIva],

It seems that there was something wrong with file upload functionality of the connect site. Could you please try to upload it to our workspace?
Posted by Vardenis on 10/20/2010 at 3:06 AM
I have checked "submit these files to Microsoft only". The file name is
Posted by Microsoft on 10/19/2010 at 11:46 PM
Thanks again for your feedback.
We cannot find your dump anywhere. Could you please upload it again to the mentioned workspace?
Posted by Vardenis on 10/19/2010 at 7:17 AM
I have attached a crash dump here.
Posted by Microsoft on 10/19/2010 at 2:17 AM
Thank you for attaching the repro video.
But we cannot still reproduce this issue with your video.
Could you please provide us with a mini dump file? You can get detailed steps about how to get the dump file at :

It would be greatly appreciated if you could provide us with that information as quickly as possible.

You can upload your dump to the workspace:

Please use "FeedbackID-611434" as the file name.

Posted by Vardenis on 10/8/2010 at 5:10 AM
I have attached a video. in case you need the codec.
Posted by Microsoft on 10/8/2010 at 12:33 AM
Thank you for reporting this issue.
But we were not able to reproduce it with the steps you provided. Could you please attach a video to help us investigate this issue?
Posted by Microsoft on 10/7/2010 at 8:22 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(