FIX: What's New: Bug Fixes Made in Visual C++ Version 1.52ID: Q125725
|
This article lists fixes made to Microsoft Visual C++ for Windows in version 1.52. This information can also be found in the What's New help file that is available from Books Online or from the initial Setup dialog box.
Q102920 FIX: Linker May Cause L5000 with CodeView Information
Q102920 FIX: Linker May Cause L5000 with CodeView Information
Q112984 FIX: Debugger Expands Arrays Passed to Functions IncorrectlyWhen you tried to expand a reference to an object in the watch or locals window of Visual Workbench, the Visual Workbench debugger did not correctly take the address of reference types when expanding this parameter type. For more information, please see the following article in the Microsoft Knowledge Base:
Q116463 FIX: Expansion of Object References Displays a Blank Line
Q140535 FIX: Only the First 64K Is Read from Binary FieldAny call to COleServerDoc::XDataObject::SetData always returned the HRESULT corresponding to the error SCODE E_OUTOFMEMORY. These calls now return the code S_OK. For more information, please see the following article in the Microsoft Knowledge Base:
Q121522 FIX: SetData Always Returns E_OUTOFMEMORYAfter opening a file from a floppy drive (or any removable medium) and removing the disk, Print Preview with Generic Text Only printer selected failed. The common dialog code in class CPrintDialog loaded the printer driver to get information. It looked for the printer driver in the current directory -- in this case on the removed disk. MFC failed to check the return value of a call to GetDefaults which returned an error in this case. A default OLE container application with OLE Automation enabled initialized the m_pSelection data member in the wrong function. AppWizard initialized the member to NULL in the view's nInitialUpdate member function rather than in the view constructor. This led to an assertion failure in COleClientItem::OnDraw when you attempted to create a container document with another application. For example, this problem occurred when using the Visual Basic CreateObject function. The member is now correctly initialized in both places. This bug applies to both 16- and 32-bit versions. COleDataSource::OnRenderData returned NOERROR instead of TRUE. Because the function return type was prototyped as BOOL, NOERROR was interpreted as FALSE. This bug applies to both 16- and 32-bit versions. The EXCEPINFO structure was not correctly initialized for an OLE control. Information already available about an exception -- in particular, the control name and the name of the control's help file -- was overwritten. This has been corrected so that the EXCEPINFO structure is only filled if it is empty. This bug applies to both 16- and 32- bit versions. The wrong window wss determined to be the active window when the HIERSVR sample application was embedded in Microsoft Excel. When you used Edit Insert in Excel to insert a HIERSVR object, select the object, then choose any command that opens a dialog box, the dialog box has the wrong parent. The parent is in Excel, not HIERSVR. The m_pActiveWnd data member needed to be set back to NULL once an object left the UI-active state. This was true for both 16- and 32-bit Excel. This bug applies to both 16- and 32-bit versions of Visual C++. Class CSharedFile allocated global memory using an incorrect option. By default, CSharedFile allocated GMEM_FIXED memory instead of GMEM_MOVEABLE memory. This caused GlobalRealloc to fail and throw a memory exception even though there was still enough memory. The default has been changed to avoid this problem.
Additional query words:
Keywords : kblist
Version : 1.52
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: August 3, 1999