BUG: WWWQuote Sample Generates Error Message (156076)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Learning Edition 4.2
This article was previously published under Q156076 SYMPTOMS
The WWWQuote sample reports the following error when trying to bring up a
new page from the Welcome page.
BAD REQUEST
Your client sent a request that this server didn't understand.
Request:
CAUSE
The HTML in the sample that is generated for the pages has a bug that
prevents the DLL from correctly parsing the input from these pages.
RESOLUTION
Modify all the .htm files as shown below to fix the problem.
Replace all instances of
with the following:
Note that the original .htm files have an extra [ASCII 147]m[ASCII 148] in MfcISAPICommand.
Rebuild the DLL.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This has been fixed in the WWWQuote sample that shipped with Visual C++ version 5.0 or later.
Modification Type: | Major | Last Reviewed: | 12/10/2003 |
---|
Keywords: | kbBug kbVC500fix KB156076 |
---|
|