SAMPLE: SendRequestExAsync Uses HttpSendRequestEx Asynchronously (242019)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
- Microsoft Internet Explorer (Programming) 5
- Microsoft Internet Explorer (Programming) 5.5
- Microsoft Windows Internet Services (WinInet)
This article was previously published under Q242019 SUMMARY
Although you can use HttpSendRequestEx to post large amounts of data both synchronously and asynchronously, using HttpSendRequestEx asynchronously can be a difficult task due to a number of issues involved in the timing and use of the various WinInet calls.
The sample SendRequestExAsync.cpp included in this article demonstrates how to properly call HttpSendRequestEx in an asynchronous WinInet application. You can compile and run SendRequestExAsync.cpp to send a large HTTP request to a server.
REFERENCESFor additional information about using HttpSendRequestEx, click the article number below
to view the article in the Microsoft Knowledge Base:
177188 FILE: Using HttpSendRequestEx for Large Post Requests
Modification Type: | Minor | Last Reviewed: | 8/5/2004 |
---|
Keywords: | kbfile kbhowto kbhttp KB242019 |
---|
|