Microsoft KB Archive/26234

{|
 * width="100%"|

PRB: Windows REQUEST Function Not Working With Excel

 * }

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), on platform(s):
 * the operating system: Microsoft Windows NT, versions 3.5, 3.51
 * Microsoft Windows 4.0
 * Microsoft Windows 95

-

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 &quot;lpddeup->fResponse=1&quot; is added, the REQUEST function should work correctly.

Additional query words: 3.00 3.10 3.50 4.00

Keywords :

Issue type :

Technology : kbAudDeveloper kbSDKSearch kbWin32sSearch kbWin32API kbWinSDKSearch