EDN Admin
Well-known member
<span class="fixed_width" style="font-family:Courier,Monospaced Hello<br/> <br/> We have a Visual C++ application running in Windows XP. Our application will be become "Not Responding" on typing some characters in the dialog edit control and by simulatenously <span class="fixed_width" style="font-family:Courier,Monospaced changing the XP language(using shortcut key Left ALT + SHIFT) <br/> <span class="fixed_width" style="font-family:Courier,Monospaced <br/> On debugging the application in VS2008 i could found that the control is not returning from<br/> following MFC code <br/> <br/> LRESULT CWnd:
efWindowProc(UINT nMsg, WPARAM wParam, LPARAM lParam)<br/> {<br/> if (m_pfnSuper != NULL)<br/> ---> return ::CallWindowProc(m_pfnSuper, m_hWnd, nMsg, wParam, lParam);<br/> <br/> Watch information <br/> -----------------------------<br/> m_pfnSuper 0x7e43b3ec _EditWndProcA@16 long (HWND__ *, unsigned int, unsigned int, long)*<br/> nMsg 80 unsigned int<br/> wParam 1 unsigned int<br/> lParam 135464979 long<br/> <br/> <span class="fixed_width" style="font-family:Courier,Monospaced Full Call stack information <br/> --------------------------------------------<br/> <br/> ntdll.dll!_KiFastSystemCallRet@0() <br/> user32.dll!_NtUserMessageCall@28() + 0xc bytes <br/> user32.dll!_EditWndProcA@16() + 0xd5 bytes <br/> user32.dll!_InternalCallWinProc@20() + 0x28 bytes <br/> user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 bytes <br/> user32.dll!_CallWindowProcAorW@24() + 0x51 bytes <br/> user32.dll!_CallWindowProcA@20() + 0x1b bytes <br/> > mfc90d.dll!CWnd:
efWindowProcA(unsigned int nMsg=80, unsigned int wParam=1, long lParam=135464979) Line 1043 + 0x20 bytes C++<br/> mfc90d.dll!CWnd::WindowProc(unsigned int message=80, unsigned int wParam=1, long lParam=135464979) Line 1756 + 0x1c bytes C++<br/> mfc90d.dll!AfxCallWndProc(CWnd * pWnd=0x04c17f38, HWND__ * hWnd=0x00281598, unsigned int nMsg=80, unsigned int wParam=1, long lParam=135464979) Line 240 + 0x1c bytes C++<br/> mfc90d.dll!AfxWndProc(HWND__ * hWnd=0x00281598, unsigned int nMsg=80, unsigned int wParam=1, long lParam=135464979) Line 403 C++<br/> mfc90d.dll!AfxWndProcBase(HWND__ * hWnd=0x00281598, unsigned int nMsg=80, unsigned int wParam=1, long lParam=135464979) Line 441 + 0x15 bytes C++<br/> user32.dll!_InternalCallWinProc@20() + 0x28 bytes <br/> user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 bytes <br/> user32.dll!_DispatchMessageWorker@8() + 0xdc bytes <br/> user32.dll!_DispatchMessageA@4() + 0xf bytes <br/> mfc90d.dll!AfxInternalPumpMessage() Line 183 C++<br/> mfc90d.dll!CWinThread:
umpMessage() Line 900 C++<br/> mfc90d.dll!CWinThread::Run() Line 629 + 0xd bytes C++<br/> mfc90d.dll!CWinApp::Run() Line 865 C++<br/> mfc90d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00151f02, int nCmdShow=1) Line 47 + 0xd bytes C++<br/> OurApplication.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00151f02, int nCmdShow=1) Line 34 C++<br/> OurApplication.exe!__tmainCRTStartup() Line 578 + 0x35 bytes C<br/> OurApplication.exe!WinMainCRTStartup() Line 403 C<br/> kernel32.dll!_BaseProcessStart@4() + 0x23 bytes <br/> <br/> <br/> <span class="fixed_width" style="font-family:Courier,Monospaced Please help !<br/> <span class="fixed_width" style="font-family:Courier,Monospaced <br/> <span style="font-family:Courier,Monospaced Thanks in advance<br/> Harikrishnan<br/>
View the full article



View the full article