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

Compiling new MFC apps with VC++ 6.0 info

Anonymous's picture
Forums: 

Hi !

Just a warning, if you create a new project from scratch with VC++ 6.0 you cannot use the files it creates in debug mode (when _DEBUG is defined).

At the beginning of the files you get this:

#ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif

You must remove the "#define new DEBUG_NEW" or else you will get compilation errors when ever you try to use "new".

Mikael