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

The WNT definition… (VC++ 7.1, WinXP)

Anders Pettersson's picture
Forums: 

Hi what is that WNT definition used for? I see the:

---------------------------------------------------
#if !defined(WNT)
#error WNT precompiler directive is mandatory for CasCade
#endif---------------------------------------------------

code lines in one of the samples file. When I compile an MFC application using this directive. I got a ASSERT on:

---------------------------------------------------
CWinApp::CWinApp(LPCTSTR lpszAppName)

ASSERT(AfxGetThread() == NULL);
---------------------------------------------------

Tips on whats wrong are welcomed!