PRB: Windows REQUEST Function Not Working With Excel

ID: Q26234


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) versions 3.0, 3.1
  • Microsoft Win32 Application Programming Interface (API), included with:
    • Microsoft Windows NT, versions 3.5, 3.51
    • Microsoft Windows versions 95, 4.0


SYMPTOMS

The REQUEST function does not work correctly with Excel. The request message is received, however, Excel does not process the WM_DDE_DATA message that is sent back.


RESOLUTION

The fResponse bit must also be set in the WM_DDE_DATA message (bit 12). This bit tells Excel that the data message is in reply to a REQUEST function and not an ADVISE function. If "lpddeup->fResponse=1" is added, the REQUEST function should work correctly.

Additional query words: 3.00 3.10 3.50 4.00

Keywords :
Version :
Platform :
Issue type :


Last Reviewed: March 3, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.