PATCH: Visual C++ Version 4.1bLast reviewed: October 9, 1997Article ID: Q154428 |
The information in this article applies to:
SUMMARYThe file Vc41b.exe contains a patch to the Visual C++ versions 4.1 or 4.1a MFC DLL and run-time library to solve a number of Win32s problems. Below is the information from the Readme.txt which is included with the patch. See the instructions below for more information about how to download and apply the patch.
Contents of Readme.txt file
SummaryThis patch updates MFC version 4.1 to correct several problems that occur when running on Win32s. If you have built an MFC application with Visual C++ 4.1 and are supporting Win32s you may have noticed one or more of the following problems, all of which are fixed in this patch:
How To Run the Patch, and What Gets UpdatedThe following is included in the self-extracting file, Vc41b.exe:
(After Patch A) 921,872 5/13/96 11:39a 4.1.6130 (After Patch B) 924,432 7/11/96 12:55p 4.1.6139 (After Patch B) 978,210 7/10/96 6:40p (After Patch A) 919,824 5/13/96 11:45a 4.1.6130 (After Patch B) 924,432 7/10/96 8:57p 4.1.6139 (After Patch B) 993,011 7/10/96 6:26p (After Patch A) 247,808 5/13/96 11:46a 4.1.6130 (After Patch B) 247,808 7/10/96 5:59p 4.1.6139 (After Patch A) 255,488 5/13/96 11:46a 4.1.6130 (After Patch B) 255,488 7/10/96 6:16p 4.1.6139 (Before) Size: 1,134,592 Date: 2/27/96 Time: 10:40p (After Patch A) 1,134,592 5/6/96 3:03p (After Patch B) 1,134,592 7/10/96 5:59p (Before) Size: 1,159,168 Date: 2/27/96 Time: 11:05p (After Patch A) 1,159,168 5/6/96 3:27p (After Patch B) 1,159,168 7/10/96 6:16p (Before) Size: 28,160 Date: 2/27/96 Time: 10:41p Version: 4.1.6038 (After Patch B) 28,160 7/10/96 5:59p 4.1.6139 (Before) Size: 28,160 Date: 2/27/96 Time: 11:05p Version: 4.1.6038 (After Patch B) 28,160 7/10/96 6:17p 4.1.6139 (After Patch B) 790,528 7/10/96 5:59p (After Patch B) 667,136 7/10/96 5:58p 4.1.6139 (After Patch B) 2,347,008 7/10/96 5:58p (After Patch B) 894,976 7/10/96 5:55p 4.1.6139 (After Patch B) 752,486 7/10/96 5:55p (After Patch B) 2,813,952 7/10/96 5:55p (After Patch B) 907,776 7/10/96 6:13p 4.1.6139 (After Patch B) 771,367 7/10/96 6:13p (Before) Size: 2,838,528 Date: 2/27/96 Time: 11:00p (After Patch B) 2,838,528 7/10/96 6:13p (Before) Size: 213,433 Date: 2/27/96 Time: 10:40p (After Patch B) 213,720 7/10/96 5:59p (Before) Size: 49,166 Date: 2/27/96 Time: 10:41p (After Patch B) 49,345 7/10/96 5:59p (Before) Size: 50,430 Date: 2/27/96 Time: 11:05p (After Patch B) 50,598 7/10/96 6:17p (Before) Size: 798,720 Date: 2/27/96 Time: 11:05p (After Patch B) 798,720 7/10/96 6:17p (Before) Size: 666,410 Date: 2/27/96 Time: 10:39p (After Patch B) 668,293 7/10/96 5:58p (After Patch B) 670,208 7/10/96 6:16pm 4.1.6139 (Before) Size: 715,044 Date: 2/27/96 Time: 11:03p (After Patch B) 716,611 7/10/96 6:16p (Before) Size: 2,379,776 Date: 2/27/96 Time: 11:03p (After Patch B) 2,379,776 7/10/96 6:16p (After Patch B)322,048 6/20/96 10:28p 4.10.6087 (After Patch B)444,928 2/20/96 1:05a 4.10.6038 (Before) Size: 1,197,056 Date: 2/15/96 Time: 12:43a (After Patch B) 1,262,592 2/20/96 1:05a a. Close all applications using MFC, including Microsoft Developer Studio. b. Copy Patch.exe and Msdev41.rtp to your \msdev directory. c. Run the following command at a command prompt in the directory that you copied Patch.exe into:
patch msdev41b (After Patch A)103,696 4/10/96 8:56p 4.10.6038 (After Patch B)103,696 4/10/96 8:56p 4.10.6038 (After Patch A) 65,183 4/8/96 4:38p (After Patch B) 65,183 4/8/96 4:38p (Before) Size: 6,652,314 Date: 2/27/96 Time: 10:12p (After Patch A) 6,652,314 4/25/96 4:57p (After Patch B) 6,652,292 7/10/96 5:38p (Before) Size: 7,405,604 Date: 2/27/96 Time: 10:03p (After Patch A) 7,405,604 4/25/96 4:49p (After Patch B) 7,405,674 7/10/96 5:31p (Before) Size: 6,677,766 Date: 2/27/96 Time: 10:29p (After Patch A) 6,677,730 5/6/96 2:52p (After Patch B) 6,677,934 7/10/96 5:51p (Before) Size: 7,437,480 Date: 2/27/96 Time: 10:21p (After Patch A) 7,437,480 5/6/96 2:43p (After Patch B) 7,437,554 7/10/96 5:44p (Before) Size: 569,344 Date: 2/27/96 Time: 10:12p (After Patch A) 569,344 4/25/96 4:57p (After Patch B) 569,344 7/10/96 5:37p (Before) Size: 577,536 Date: 2/27/96 Time: 10:03p (After Patch A) 577,536 4/25/96 4:48p (After Patch B) 577,536 7/10/96 5:31p (Before) Size: 569,344 Date: 2/27/96 Time: 10:29p (After Patch A) 569,344 5/6/96 2:52p (After Patch B) 569,344 7/10/96 5:51p (Before) Size: 577,536 Date: 2/27/96 Time: 10:20p (After Patch A) 585,728 5/6/96 2:43p (After Patch B) 577,536 7/10/96 5:44p (Before) Size: 159,744 Date: 2/15/96 Time: 12:43a (After Patch B) 102,400 6/20/96 11:12p (Before) Size: 8,872 Date: 1/5/96 Time: 8:51p (After Patch B) 8,886 6/19/96 6:55p (Before) Size: 14,694 Date: 12/15/95 Time: 9:18a (After Patch B) 14,865 7/16/96 3:35p (Before) Size: 8,509 Date: 9/19/95 Time: 8:11a (After Patch B) 8,687 7/16/96 3:35p (Before) Size: 8,056 Date: 9/19/95 Time: 8:12a (After Patch B) 8,754 7/16/96 3:35p (Before) Size: 100 Date: 2/7/96 Time: 9:26a (After Patch B) 100 7/16/96 3:35p (Before) Size: 21,763 Date: 9/19/95 Time: 8:12a (After Patch B) 22,435 7/16/96 3:35p (Before) Size: 1,237 Date: 7/5/95 Time: 1:11a (After Patch B) 1,203 7/16/96 3:35p (Before) Size: 94,099 Date: 1/30/96 Time: 9:10a (After Patch B) 94,220 7/16/96 3:35p (Before) Size: 33,304 Date: 12/15/95 Time: 9:18a (After Patch B) 33,935 7/16/96 3:35p (Before) Size: 3,758 Date: 8/10/95 Time: 7:10a (After Patch B) 4,461 7/16/96 3:35p (Before) Size: 31,712 Date: 1/11/96 Time: 9:08a (After Patch B) 31,836 7/16/96 3:35p CaveatsSeveral of the MFC files that can get patched are optionally installed. You may get a message in the patch log stating that a particular file was not found, and that is OK. For example, if you did not install the Unicode MFC libraries, the Patch program will not find them.
Potential Problems and Workarounds
(see below) stating that the old version of the file could not be found but one with the same name exists is displayed. No update will be done. wpt0036:old File not found: The C run-time DLL which is being patched, MSVCRT40.DLL, is a Win32s specific version. Readme from Visual C++ 4.1a PatchI. Summary This patch updates MFC to fix a problem you may be seeing in an application that uses the Microsoft database classes. Using certain ODBC drivers you may get an "Out of memory" error. See below for a list of files updated and a more complete description of the problem. This patch also updates the debugger in the Microsoft Developer Studio to fix a problem where you may not be stopping at breakpoints you have set in a project that was built from a directory structure that contained long names. This problem did not exist in Visual C++ 4.0. See below for a list of files updated. II. Description of MFC Bug An error can occur when mapping a CString to a SQL_LONGVARCHAR, SQL_VARCHAR, or other SQL data type field if a driver returns a large precision value from SQLDescribeCol() for the column. A bug in the MFC ODBC Database classes results in MFC trying to allocate a large chunk of memory to store data that might have this large precision. In some cases, such as using a memo field with the FoxPro Desktop ODBC driver, a memory allocation of 1 gigabyte may be attempted. Or, as is the case with the Visual FoxPro driver, the MFC Database Classes will try to allocate a negative number of bytes because the return value of the driver is 2 gigabytes and then MFC adds 1, which causes the signed variable to wrap into a negative value. In this case, an assertion occurs in GetBufferSetLength() on line 447 of Strcore.cpp:
ASSERT(nNewLength >= 0);Mapping a CString to a SQL Server text field produces the same result. The problem occurs only when mapping CString variables to variable-length fields using the RFX_Text() function.
MORE INFORMATIONThe following file is available for download from the Microsoft Software Library:
~ Vc41b.exe (size: 2275934 bytes)For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q119591 TITLE : How to Obtain Microsoft Support Files from Online ServicesNOTE: Use the -d option when running Vc41b.exe to decompress the file and recreate the proper directory structure.
|
Additional query words: patch upgrade
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |