wxApplication crash in vs2008 debug run

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
zhouhao
Earned some good credits
Earned some good credits
Posts: 144
Joined: Tue Dec 06, 2005 7:02 am

wxApplication crash in vs2008 debug run

Post by zhouhao » Sun Jul 20, 2008 7:54 am

Application linked with wxWidgets 2.8.8 dynamic link unicode build will crash at "return ::PeekMessage(&msg, 0, 0, 0, PM_NOREMOVE) != 0;" when I run it inside vs2008 during debugging. The application has no problem to run outside vs 2008. Does anybody have the same problem? What is the problem? By the way, the above mentioned statement is in this function of evtloop.cpp:

Code: Select all


bool wxEventLoop::Pending() const
{
    MSG msg;
    return ::PeekMessage(&msg, 0, 0, 0, PM_NOREMOVE) != 0;
}


zhouhao
Earned some good credits
Earned some good credits
Posts: 144
Joined: Tue Dec 06, 2005 7:02 am

Post by zhouhao » Sun Jul 20, 2008 8:00 am

By the way, the same application with same version of vs 2008, wxwidgets works under Vista. ( Problematic testing is on xp )

Post Reply