For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Error when finish the examples in Visual Studio 2005

YONGUK's picture
Forums: 

Hello all

I've got problem..

When I exit from the project examples...

there's an error

Microsoft Visual C++ Debug Library
Debug Assertion Failed!

I could find previous questions and reply but
there's no anwser I expected

Mikael Aronsson's picture

I might help a little if you would include information about the assertion (line number and file).

YONGUK's picture

File: close.c
Line : 48

zhangzhigang824's picture

I meet the same problem with you, have you solved it yet?
Could anyone help us, thank you!

Pawel's picture

might be this:

http://www.opencascade.org/org/forum/thread_15882/

P Dolbey's picture

In WINMAIN.CPP change line 33 to read

#define DISPLAYCONSOLE 0

If you still want a console for debugging, change the linker-system properties to /SUBSYSTEM:CONSOLE

Pete

P Dolbey's picture

Apologies - slightly wrong, instead you should comment out line 33.
i.e.

//#define DISPLAYCONSOLE 1

Pete

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.