The information in this article applies to:
SYMPTOMSA 32-bit application calls DdeConnect when all previous DDEML initialization has been performed. DdeConnect never returns. CAUSE
Any thread that creates a top-level window and doesn't have a message
loop will cause DdeConnect to block. This is because DdeConnect calls
SendMessage(HWND_BROADCAST...). In this call, SendMessage will put the
message in the target thread's message queue and block the calling
thread. If the target thread doesn't have a message loop, it will never
process this message and therefore never return.
RESOLUTIONThe only current solution is to add a message loop to the thread that created the window. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. Additional query words: 4.00
Keywords : kbNTOS351bug kbWin32s kbWinOS95bug |
Last Reviewed: September 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |