An Error in debugging in visual C++ and opencv and openGL
-
Saturday, March 24, 2012 9:14 AM
Hi there,
I want to debug a program which has written in VC++.
I recieve an error in MessegeBox :"Unhandled exception at 0x003a91a6 in Facial Studio v0.3.exe: 0xC0000005: Access violation reading location 0x00000000."
And there is only break and continue button.
void
( void )
{
if(m_bIs3D) \\An error points to this line
resizeRenderingContext3D();
else
resizeRenderingContext2D();
}
COpenGLWnd::resizeRenderingContext- Moved by Esther FanMicrosoft Employee, Moderator Monday, April 02, 2012 7:14 PM (From:Visual Studio Visualization & Modeling Tools)
All Replies
-
Saturday, March 24, 2012 9:15 AM
Hi there,
I want to debug a program which has written in VC++.
I recieve an error in MessegeBox :"Unhandled exception at 0x003a91a6 in Facial Studio v0.3.exe: 0xC0000005: Access violation reading location 0x00000000."
And there is only break and continue button.
void
( void )
{
if(m_bIs3D) \\An error points to this line
resizeRenderingContext3D();
else
resizeRenderingContext2D();
}
COpenGLWnd::resizeRenderingContext
void
COpenGLWnd::resizeRenderingContext( void )
{
if(m_bIs3D)
resizeRenderingContext3D();
else
resizeRenderingContext2D();
}
-
Tuesday, April 03, 2012 6:36 AMModerator
Hi Sg.Sanam,
Thank you for posting in the MSDN forum.
We want to make sure that if you run this app in Release mode, does it have this issue?
I’m afraid that it is related to the code, you could try to debug your App with “Step Into (F11)”, and check which line code generated this issue.
If we could make sure that this issue is related to the code. I suggest you could post this issue Visual C++ Generalfor dedicated support.
"Unhandled exception at 0x003a91a6 in Facial Studio v0.3.exe: 0xC0000005: Access violation reading location 0x00000000."
In addition, I did some research about this issue, and I find some threads about the similar issue, if possible, you could refer them.
Access violation reading location 0x00000000.
How to debug an "Access violation reading location 0" not from a trivial error.
If there's any concern, please feel free to let us know.
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Sunday, April 08, 2012 11:58 AM
-
Thursday, April 05, 2012 1:48 AMModerator
Hi Sg.Sanam,
Any update? Could you get the useful information from my reply?
Would you mind letting us know the result of the suggestion?
Best Regards,
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us

