This is WM_WINDOWPOSCHANGING.
says, especially ON_MESSAGE. If number of arguments doesn't match, you'll
get all kinds of funny behaviors.
On Jul 19, 11:15 pm, "Scott McPhillips [MVP]" <org-dot-mvps-at-
scottmcp> wrote:
An application is single threaded if your code does not create any
additional threads, and if your code does not use any libraries that
create additional threads. If you halt the program in the VC debugger
the debugger will display a list of all your threads.
I looked at the threads where my code is hanging and there was only
one listed.
Thread ID Suspend Priority Location
*00000bf4 1 9
[CMDIFrameWnd:DefWindowProcA]
Here is the call stack.
NTDLL! 7c90eb95()
USER32! 7e43083f()
USER32! 7e44f720()
CMDIFrameWnd::DefWindowProcA(unsigned int 70, unsigned int 0, long
1244760) line 198
CWnd::WindowProc(unsigned int 70, unsigned int 0, long 1244760) line
1586 + 26 bytes
AfxCallWndProc(CWnd * 0x01401390 {CMainFrame hWnd=???}, HWND__ *
0x00640220, unsigned int 70, unsigned int 0, long 1244760) line 215 +
26 bytes
AfxWndProc(HWND__ * 0x00640220, unsigned int 70, unsigned int 0, long
1244760) line 368
USER32! 7e418734()
USER32! 7e41d05b()
USER32! 7e41b4c0()
USER32! 7e41cf9e()
NTDLL! 7c90eae3()
CWinThread::PumpMessage() line 814 + 19 bytes
CWinThread::Run() line 480 + 11 bytes
CWinApp::Run() line 400
AfxWinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char *
0x00141f0d, int 1) line 49 + 11 bytes
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char *
0x00141f0d, int 1) line 30
WinMainCRTStartup() line 198 + 54 bytes
KERNEL32! 7c816fd
And here is some of the assemly code.
7C90EB93 nop
7C90EB94 ret
7C90EB95 lea esp,[esp]
7C90EB9C lea esp,[esp]
7C90EBA0 nop
7C90EBA1 nop
It is hanging at
7C90EB95 lea esp,[esp]
Here are the error messages.
DBG: Break command failed within 3 seconds.
DBG: Potential deadlock. Soft broken.
DBG: Break command failed within 3 seconds.
DBG: Potential deadlock. Soft broken.
DBG: Break command failed within 3 seconds.
DBG: Potential deadlock. Soft broken.
Thanks,
Peter.