What' wrong with OCC6.5.1 samples?

First, I installed occ6.5.1 according to the default configuration.
Secondly,I used this command line to start sample:Run.bat vc8 win32 Release Viewer3d,
but the Visual Studio real-time debugger poped up.
what's wrong?

Later, I copied mfcsample.dll from the directory "C:\OpenCASCADE6.5.1\samples\mfc\win32\vc8\lib" to "C:\OpenCASCADE6.5.1\samples\mfc\win32\vc8\bin",I was excited that the above command line could start the Viewer3d sample.in Viewer3d project I clicked the "Edges" button(or "Faces" button),but when the cursor meets with the model,Visual Studio real-time debugger poped up again.
What's wrong again?

I beg you help me.Because of this problem, I almost collapsed.
Thank you very much, looking forward to your reply.

Attachments: 
QPower's picture

the Visual Studio real-time debugger

QPower's picture

select edge or face

JuryS's picture

I think that is not good idea to run samples from OCC 6.5.1. Try the previous version like 6.3.0. In previous version of OCC all samples working after install.

QPower's picture

Dear Yuriy Sinithin,
I have to use the occ6.5.1,because i want to do the component Collision Detection using Collision6.5.1.

Forum supervisor's picture

Dear liyuqing,
I have checked exactly the default configuration of the recent OCCT delivery available at the http://www.opencascade.org/getocc/download/loadocc/.
Visual3d sample works properly. All selection filters (Vertices, Edges, Faces) works without exceptions (see the attached picture).
Very probably a problem is in your local environment.
You may help yourself using Dependency Walker and analyzing all dependencies of the sample.
Or you may contact us via Contact Form - http://www.opencascade.org/about/contacts/.
Regards

Attachments: