VS2008 Failed Assertion

i want to recompile the samples, build can success, but when i press Ctrl+F5 to run one sample, pop up "Failed Assertion,..., winmain.cpp..."

Liang Quan's picture

debug assertion failed

program:c:\opencascade6.6.0\...\viewer2d.exe
file:c:\opencascade6.5.4\...\winmain.cpp
line:76

for information on how your program can cause an assertion failure, see the visual C++ documentation on assert

Liang Quan's picture

when step debug, in WINMAIN.cpp, this line

CWinApp* pApp = AfxGetApp();

//here pApp = 0x0000000