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


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