DDE Error Message: Application Using DDE Did Not Respond

Last reviewed: November 2, 1995
Article ID: Q94955
The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) versions 3.1
  • Microsoft Win32 Application Programming Interface (API) included with:

        - Microsoft Windows 95 version 4.0
    

SUMMARY

DDEML displays a dialog box with the following error message when a terminate deadlock occurs, often caused by a DDE application not terminating correctly:

   Application using DDE did not respond to the System's Exit command

MORE INFORMATION

A terminate deadlock situation occurs when DDEML times out while waiting for a responding terminate.

This message box appears when a DDEML application calls DdeUninitialize() with conversations still active. DdeUninitialize() posts WM_DDE_TERMINATE messages for each open conversation, and waits for a corresponding WM_DDE_TERMINATE for a set period of time. This time is actually set in the [DDEML] section of the WIN.INI file

   [DDEML]
   ShutdownTimeout= ?
   ShutdownRetryTimeout=?

where both are defined as integers defaulting to 30000 milliseconds. These WIN.INI entries were purposely not documented to discourage people from setting them to some other value.

If DDEML does not receive a response within the set period of time, it brings up the message box to allow the user to choose to either quit, wait longer, or wait indefinitely. This was done to work around a problem in Windows 3.0 where the system locks up if an application attempts to post a message to a non-existent window, and to allow the user to save his work.


Additional reference words: 3.10 3.00 4.00 95
KBCategory: kbui
KBSubcategory: UsrDde


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 2, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.