debug errors

after build while debugging it says unhandled exception.
"Unhandled exception at 0x05f82c08 in Geometry.exe: 0xC0000005: Access violation writing location 0x078bc000."

can someone help?

ouyou iketsu's picture

I also have this problem.Is there any one can help me?

I am using visual studio 2015.And the opencascade .dll compiled from vs2010.

ouyou iketsu's picture

I solve it by changing a line in GeometryApp.cpp file:

//AddDocTemplate(pDocTemplateForView2d);    ---> AddDocTemplate(pDocTemplateForView2d); 

But after that,it raise a new problem.The "new file"button on the frame in invalid.

Forum supervisor's picture

Dear ouyou iketsu,

The problem is not reproduced in public OCCT6.9.1 version as with VS2010 as with VS2013.
First I suggest you to check the specified problem in mentioned above configuration.
If you plan to work with studio 2015 I suggest you to rebuild OCCT with this compiler first.
Very probably it may remove the issue.

Best regards