FIX: What's New: Bug Fixes Made in Visual C++ Version 2.1
ID: Q126110
|
The information in this article applies to:
-
Microsoft Visual C++, 32-bit Editions, version 2.1
This article lists fixes made in version 2.1 to bugs that appeared in
Microsoft Visual C++, 32-bit Edition, version 2.0. This information can
also be found in the What's New help file available from Books Online or
from the initial Setup dialog box.
MORE INFORMATIONBugs Fixed in Visual C++ 2.1
Visual C++ version 2.1 fixes several Visual C++ version 2.0 bugs. These
include bugs for hosting on Windows 95 and for double-byte character set
(DBCS) code. Many developers will find the bug fixes listed in this article
of particular interest.
Fixed Integrated Development Environment Bugs
- The thread priority is not displayed correctly. Visual C++ was using
ANSI_FIXED_FONT; this has been changed to SYSTEM_FIXED_FONT.
- If you paste data from one window containing a document to another
window containing the same document, the window into which you paste is
refreshed incorrectly. This occurred in two cases: (a) when the second
view of the document was created with the New Window command on the
Window menu or (b) when the second view was in a splitter window.
- Splitter windows in the Visual C++ source code editor exhibit incorrect
behavior. If you split a source code window and edited one of the panes,
the other window was repainted incorrectly.
- Pasting a large bitmap from Microsoft Word version 6.0 (16 bit) into the
Visual C++ version 2.0 bitmap editor results in a general protection
(GP) fault. If you placed a bitmap on the clipboard from Word, opened
the bitmap editor in Visual C++, and pasted the bitmap, a GP fault
occurred in Visual C++. Visual C++ version 2.1 has been fixed to ignore
the paste attempt, but even in that version, Word still cannot provide
the bitmap.
Fixed MFC Bugs
Fixed Compiler Bugs
Fixed Linker Bugs
- LineNum information was incorrect when converting from 32-bit Object
Module Format (OMF) to Common Object File Format (COFF). The linker
incorrectly converted 32-bit OMF LINENUM records to COFF. This showed up
in the debugger as incorrect line numbers; the conversion is now
correct. For more information, please wee the following article in the
Microsoft Knowledge Base:
Q117796
PRB: Incorrect Debug Information in 32-bit Object Module
- An error occurred in the incremental linker when processing large
images but few relocations. This condition resulted in this message:
***** Linker INTERNAL ERROR during EmitRelocations *****
The problem leading to this message has been corrected.
Fixed Run-Time Library Bugs
- The tolower and toupper functions were not locale sensitive on the
Intel platform. The functions incorrectly used the "C" locale regardless
of what the locale was.
- Using a pointer to a virtual base class object while catching an
exception resulted in an Application Error when the derived class used
multiple inheritance. This has been corrected.
- An incorrect heap region size was set under Win32s. Win32s initially did
not support reserved but uncommitted virtual memory. A code check in
Visual C++ used to limit the maximum total size of the CRTL heap under
Win32s. This check has been removed, so applications running under
Win32s or Phar Lap TNT will be able to allocate approximately as much
total memory as under Windows NT or Windows 95. The initial heap regions
will be smaller under Win32s or Phar Lap TNT than under Windows NT or
Windows 95.
- The _ecvt function returned the wrong number of digits in the overflow
case. If you called _ecvt asking for n digits and the function
overflowed, it returned n+1 digits. For example, _ecvt returned 1000
instead of 100. If your code expected three digits, it might use 000,
the last three of the four digits returned, instead of 100.
- There was a memory leak in the client DLLs of MSVCRT20.DLL. Suppose
EXAMPLE.DLL was a client of MSVCRT20.DLL and a client .EXE loaded and
unloaded EXAMPLE.DLL a number of times. The failure in Visual C++ to
deallocate a small block of memory in MSVCRT20.DLL could lead to a
memory leak.
Fixed Resource Compiler Bugs
- The Resource Compiler required 16 megabytes of virtual memory on
startup. This requirement forced you to close applications or increase
the size of the Windows swap file to allow the resource compiler to
load. A new version of the resource compiler reduces this requirement.
Additional query words:
kbinf 2.00 2.10
Keywords : kbGenInfo kbVC
Version : 2.10
Platform : NT WINDOWS
Issue type :
|