Microsoft KB Archive/142447

From BetaArchive Wiki
Knowledge Base


Article ID: 142447

Article Last Modified on 11/21/2005



APPLIES TO

  • Microsoft Visual C++ 4.0 Standard Edition
  • Microsoft Visual C++ 4.0 Standard Edition



This article was previously published under Q142447

SUMMARY

This article lists the titles and Q numbers of those Microsoft Visual C++ Knowledge Base articles that describe bugs that exist in Visual C++ version 4.0. If the title of the article starts with "FIX:", then the bug was fixed in a later release. Please see the STATUS section of the FIX article to determine in which version the fix was incorporated.

MORE INFORMATION

Article ID Title

46131 DOCERR: tmpnam() Operation Does Not Change If P_tmpdir Modified

51724 DOCERR: Clarification of the /H Identifier Length Option

67041 BUG: Structure Tags Visible Outside of Function Prototype Scope

72889 BUG: C Compiler May Not Catch Integer Division-by-Zero Error

88092 BUG: Cannot Access Static Data Members in Inline Assembly

102155 DOCERR: BN_DISABLE and BN_DOUBLECLICKED Documented Incorrectly

102158 BUG: ifstream Object Loses Character in Text Mode

103712 FIX: Help, Online Books Inaccessible After Custom Install

107427 BUG: getch() Returns Incorrect Extended Key Codes

112985 BUG: new Allocates 0 Bytes for Typedef Class Function Pointer

113118 BUG: C2061, C2062, C2226, C2039 Occur When Using enum types

115521 BUG: Private Copy Constructor Called Without Proper Access

115705 BUG: Function Style Conversion Incorrectly Generates Errors

115707 BUG: C2857 Error Incorrectly Generated Using /Yc Option

116170 BUG: C2099 Generated Initializing Struct with Macro

116172 BUG: Based Ptr. Init Fails at Global Scope in CPP File

116239 BUG: Function that Inherits Through Dominance Fails

116240 BUG: Compiler Errors Initializing const Ref. to an Array

116325 BUG: Browser Information Shows Incorrect Reference to Variable

116445 BUG: Truncated String from #pragma comment(exestr, <string>)

116487 BUG: No Compiler Error for Ambiguous C++ Conversion

117201 BUG: sizeof Used in Comparison Does Not Generate C4018

117383 BUG: C2483 Instantiating Objects with the Thread Attribute

117384 BUG: Unable to Hit Breakpoint on ELSE IF Statement

118875 BUG: ClassWizard "Bind", "Update Columns" Buttons Disabled.

119393 BUG: Invalid Extraction from istrstream Does Not Set failbit

119873 BUG: Incorrect Use of #pragma Pack Causes C1001 Errors

120218 BUG: Warning C4056 Generated When /Op Option is Used

120967 BUG: Try Blocks Within a Switch Statement Behave Incorrectly

120968 BUG: Limitiation w/ Disabling Warnings Above 4699 w/ #pragma

121216 BUG: Vector Delete Calls Exported Destructor Only Once

121346 BUG: Spaces Preceding Header File Name Generate Build Errors

122042 BUG: Fatal Error C1001 Using /Zg with Large C++ Header Files

122217 PRB: offsetof() Macro Fails with Virtual Base Class

122258 BUG: Cannot Disconnect From Network Drive After Running Setup

122259 FIX: ClassWizard Reports Invalid Filename When Importing Class

122304 BUG: /YX and /Yc Incorrectly Allowed in Project Settings

122370 BUG: C2248 When Access Protected Nested Class in Derived Class

122539 BUG: C4786 or C1067 Caused by Long Identifier and /Zi

122540 BUG: 'char *' Passed to 'const char * &' Violates Type Safety

122541 BUG: Goto() Within Try-Except Block Causes C2705 Error

122543 BUG: Incorrect Code When Increment Pointer Based on a Pointer

122790 BUG: Character Constant with \0 Not Stored Properly

123161 BUG: ios::internal Adds No Fill Characters for int and long

125799 BUG: C2443 Using Structure Member Operand in _asm Block

127900 BUG: C2487 Error Occurs If Multiple Static Vars Use dllexport

128344 FIX: Error C2593: 'operator +' Is Ambiguous

128600 BUG: Redefinition of Enum Data Type Does Not Cause an Error

129132 BUG: Can't Use Simple Type in an Explicit Call of a Destructor

131945 DOC: OnFileNameOK Returns 0 if Valid or 1 if Not Valid

133179 BUG: Compiler Fails Syntax Check of Extra Comma in enum List

135526 BUG: Bad Result If Call Inline Function Twice in Expression

135666 FIX: Assertion Failure in CFieldExchange::GetColumnType()

137333 DOCERR: How to Use the PX_Blob Function

138412 BUG: AppWiz Samples Fail to Build from Command Line

138446 BUG: Inlined Templated Member Functions Cannot Be Specialized

138567 BUG: Incorrect Funtion Name Binding in Function Templates

138632 BUG: Can't Serialize Items After CRichEditDoc::Serialize

138664 DOCERR: GetClientRect() May Assert in OLE Controls

138693 BUG: Error Opening .Bsc File from MRU List

138694 BUG: Using CSocket w/ CArchive Causes Block from Extra FD_READ

138695 DOCERR: ConstructElements & DestructElements

138752 BUG: C4114 Warning When Using Templates and Const Keyword

138755 BUG: GPF When Drag-Drop Resources Between Two Resource Scripts

138756 BUG: Cursor Editor Fill Tool Doesn't Affect BackGround Pixels

138764 BUG: Custom Build Commands Not Assigned Values

138767 BUG: CreateRelation Method Fails with Non-UNICODE Build

138830 BUG: Dismissing Splash Screen from Component Causes Assertion

138847 BUG: C2572 When Define Function Pointer w/ Default Argument

138872 BUG: TRACE() Message Appears When Closing DAO Objects

138873 BUG: Window Colors Cannot Be Customized from Developer Studio

138928 DOCERR: Custom Key Assignments May Not Work as Expected

138947 BUG: Comma Acts Like CR/LF in Custom Build Options

138953 BUG: Static Identifiers Do Not Show Up in ClassView

138971 BUG: Default Dialog-Based Application Doesn't Work in Win32s

138972 BUG: LNK4076: Invalid Incremental Status File

139012 BUG: Cannot Map Functions to Special Keys in Developer Studio

139026 DOCERR: Remote Debugging with TCP/IP Isn't Supported on Win32s

139028 BUG: Incomplete pragma Directive May Cause C1001 Error

139029 DOCERR: Stlguide.rtf Different from Vector.h Header File

139031 DOCERR: Title Tips for Project Workspace Window Not Documented

139053 BUG: Can't Set Some Background/Foreground Colors in InfoViewer

139271 BUG: Changing Keyboard Compatibility Fails to Update Some Keys

139294 BUG: Replace "Beginning of Line" Skips Blank Lines

139295 BUG: Local File Is Not Saved with Save All

139296 BUG: C2955 Error Generated If Using Same Name as Template

139301 BUG: C2664 Error w/Property Sheet Component Added to CDocument

139422 BUG: Advanced Options for SDI Application in Appwizard

139456 BUG: LNK1201 Error Writing to .PDB File After Line Profile

139458 BUG: Ambiguous C2966 Error with Nested Template Classes

139476 BUG: File Time Incorrect After Saving During Build

139477 BUG: Insufficient Disk Space Causes Visual C++ to Fail

139490 BUG: Can't Select First Table When Creating DAO Table Recordset

139593 BUG: DDX Problem with Combo Box in Win32s

139637 BUG: Developer Studio Ignores /nologo Linker Setting

139696 BUG: WinHelp Called Twice

139759 BUG: CDatabase::ExecuteSQL() Fails with UNICODE Build

139871 BUG: Error C2371 on Struct Typedef that Does Not Have a Tag

139995 BUG: Duplicate Column Names Improperly Qualified by Wizards

139996 BUG: Wizards Create Invalid Column Names for QueryDef Join

139997 BUG: "Item not found in this collection" with MFC DAO Join

140024 BUG: Tools Won't Run If There's a Space in the Path

140041 PATCH: Visual C++ 4.0 Crash Fix

140088 BUG: Sample Application Dialog Box Is Disabled in InfoViewer

140188 BUG: C1001 or C2434: Using Templates in Default Arguments

140270 BUG: ClassView Add Function/Variable Fails If Header File Moved

140352 BUG: RC1120: RC Out of Memory When Compiling for Macintosh

140356 BUG: NMAKE Fails If Paths & File Names Have Special Characters

140357 BUG: No Warning Using Extern "C" in a Namespace

140439 BUG: Namespace Scoped Classes Don't Show Up in ClassView

140440 BUG: Global Overloaded Delete Operator Causes LNK2005

140444 BUG: UNC File Names Cause Remote Debugging to Fail

140450 BUG: "Failed to (or don't know how to) build" Warning

140503 DOCERR: Port I/O Functions Not Included in DLL Version of CRT

140573 BUG: F4 to Go to Error/Tag Doesn't Always Open Source File

140590 BUG: Error in COleDispatchException Constructor

140595 DOCERR: How to Display Tool Tips After Calling EnableToolTips

140597 BUG: Fatal Error LNK1561: Entry Point Must Be Defined

140604 BUG: 'using' Declaration Doesn't Overload Base Class Members

140669 BUG: CSingleLock: Bogus Assert in CSingleLock::CSingleLock

140670 BUG: Using Run-Time Type Info May Cause Memory Leak Report

140676 BUG: ClassWizard Uses WM_HELPINFO Instead of WM_HELP

140677 BUG: Go Back Button in InfoView Viewer Window Is Disabled

140858 BUG: _CRTDBG_MAP_ALLOC Does Not Work as Documented

141040 BUG: Step Out in Debugger Ignores Try/Catch Scope

141199 BUG: Pop-Up Menu Items Disabled for an OLE Control

141273 BUG: Firing a KeyPress Event from an OLE Control Causes Beep

141303 BUG: Dynasets w/ CLongBinary Fields Throws Incorrect Exception

141345 BUG: Duplicating Resource Causes Resource ID Collision

141346 BUG: ClassWizard Misspells CPropertyPage in OnFinalRelease()

141351 PRB: "Invalid argument" with dbAttachedTable or dbAttachedODBC

141357 BUG: WM_MOUSEMOVE Messages Returned Out of Sequence

141413 BUG: MSDEV Does Not Prompt for Executable for Debug Session

141417 BUG: Problem Occurs During File Open on Win32s

141443 BUG: C1001: Compiler File P2symtab.c, Line 878

141444 DOCERR: Incorrect Documentation for CToolBar::SetSizes()

141447 FIX: dbDao's CdbException Uses Private Constructor

141456 BUG: Pressing F1 for Help on Error Message Doesn't Work

141457 BUG: C1001 When Calling Base Class Conversion Operator

141458 BUG: Large Selections Fail in Disassembly Window

141477 BUG: Exception Specification Syntax Handled Incorrectly

141478 BUG: Floating Toolbars Disappear in Developer Studio

141485 BUG: LNK1152 & LNK1141 When Linking OLE Control to Mapi32.lib

141493 DOCERR: How to Use Debug Heap from C++ Documented Incorrectly

141532 BUG: OnInitMenuPopup Deletes Temporary Objects

141533 BUG: CSyncObject::Lock Always Returns TRUE for Finite Waits

141670 BUG: Profiling May Fail If Install Dir Contains Long File Name

141865 BUG: Hidden Workspace Not Accessible After Enabling Docking View

141866 BUG: Application Error Changing Install Directory for VC++ 4.0

141958 DOCERR: _CRTDBG_MAP_ALLOC Environment Var References Incorrect

142203 DOCERR: GetFileTitle(), GetFileName() Docs. Switched

142274 BUG: Assertion Failure when handling xN_SETFOCUS in CFormView

142385 FIX: Using CString::operator+= May Cause an Access Violation

142420 DOCERR: Setdflag.c Sample for _CrtSetDbgFlag Missing Tilde (~)

142421 FIX: D2004 Caused by /Tp or /Tc Option in Visual C++ 4.0

142493 BUG: Cannot Cast Double to int for Use in an Array Declarator

142593 BUG: Header Files Not Excluded from Project Directory

142764 FIX: Edit Fields Blank When Large Fonts Selected

142787 FIX: C1001 on Template Class of Type Pointer to Function

142888 FIX: Developer Studio Fails to Recognize Makefile and Quits

142960 FIX: CCheckListBox Fails with Style LBS_MULTICOLUMN

143050 FIX: Cannot Evaluate Structures in Classes

143082 BUG: Wrong Pointer Value When Nested Classes Have Same Name

143083 FIX: C2664 When Array Is Passed as a Parameter to a Function

143084 FIX: Problems with Using the MFC DAO Classes in a .DLL or .OCX

143086 FIX: CFile::GetFileName() Always Returns CString w/Zero Length

143108 FIX: Assertion Failed Line 388 of Occmgr.cpp

143109 BUG: Debugger Shows Incorrect "this" Pointer

143313 BUG: CToolTipCtrl Stops Working After Dialog Is Displayed

143330 FIX: Messagebox Shows in DDX_FieldCBString & DDX_FieldLBString

143352 FIX: C2988 on Conversion Operator Between Two Template Classes

143408 FIX: Assertion Failure After Using CDaoWorkspace::Create()

143410 DOC: Vertical Slider Control Sends WM_VSCROLL Message

143429 FIX: Developer Studio Causes an Alignment Fault

143430 FIX: Pointer to Member Function Is Not Shown as Reference

143433 BUG: Setup Does Not Validate First Three Digits of CD Key

145574 FIX: IDE Appears to Hang If Browse Key (F11 or F12) Is Pressed

145696 FIX: CDC::CreatePointFont() May Create Wrong Size Font

145719 BUG: DAOENROL - Can't See Added Records in Windows 95

145822 DOCERR: Creating Import Libraries for PowerPC Shared Libraries

145863 FIX: Clear All Guides in Dialog Editor Causes Access Violation

145865 FIX: Cannot Receive WM_HELP for a Subclassed Control

145993 BUG: Crystal Reports AppWizard Disables Multi-Language Support

145996 FIX: _setmaxstdio Causes Access Violation

146000 FIX: C1001 Including Header File in Template Class Definition

146444 FIX: Working Directory Setting with Trailing Backslash Fails

146447 FIX: BreakPoints not hit for long file name DLL/EXE

146617 FIX: SetWindowText(NULL) Doesn't Clear .OCX Edit Control

147130 FIX: Building an .OCX Always Runs Regsvr32

147206 FIX: Border of Modeless CPropertySheet Is Not 3D in Windows NT

147384 FIX: Icons, Bitmaps, & Menus Not Displayed in an AFXDLL Dialog

147427 DOCERR: Description of C2354 Error Is Unclear

147630 FIX: Remote Monitor Quits When TCP/IP Isn't Loaded

147684 FIX: Sending WM_xSCROLL Message Causes Invalid ASSERT

147735 FIX: ClassWizard Quits If Class Twice Derived from CRecord

147736 BUG: Dialog Previewer May Incorrectly Draw Caption on Dialogs

147836 FIX: Debugger Hangs with Huge Executable with Embedded Symbols

147894 BUG: Spy++ Causes Exception in Owner-Drawn Combo Box

147944 BUG: Edit Control's Number Style Check Box Won't Stay Selected

147948 FIX: Errors Occur Using DAO CLongBinary Data from Database

148139 FIX: Default OLE Container w/ Splitters Faults on View Closure

148230 FIX: TypeLibs with Large Argument Lists May Crash ClassWizard

148318 FIX: Using #define NOGDI Results in Compilation Syntax Errors

148455 BUG: CSharedFile::Detach() Does Not Call GlobalUnlock()

148498 DOC: CListBox::ItemFromPoint() Works Only in Windows 95

148504 FIX: C2371: Cast to Struct Ptr in Default Arg of Class Member

148686 BUG: IOMANIPdeclare Macro Causes C2758 Error with References

148688 FIX: C2243 on Friend Overload o

148704 FIX: Template Keyword Can't Be Used Inside Class Declarations 148787 FIX: Run Out of Memory or Assertion in GetBufferSetLength() 148806 BUG: Cannot Open Document from Shell If EXE Has Long File Name

148880 BUG: Breakpoint Occurs When You Insert Clipboard Assistant

149137 FIX: ODBC Long Binary Functions Use SQL_NO_TOTAL Incorrectly

149139 FIX: Visual C++ Breaks ODBC CLongBinary w/ GlobalReAll Misuse

149181 FIX: Removing Subproject Causes Page Fault

149237 BUG: 4 Class Wizard Problems w/ International System Settings

149285 FIX: C1001 When Initialize Array of Type Class with #include

149324 BUG: Modifying Const Temporary Object Doesn't Generate Error

149327 BUG: C2440 Expanding Template with a Pointer to a Nested Class

149341 FIX: CreatePointFont() May Create Wrong Size Font in Preview

149482 BUG: MSDEV Does Not Report Error When It Cannot Find Make File

149496 FIX: Custom Build Generates LNK1104 for Project Build from IDE

149965 FIX: C2668 in Overloaded Function When enum Is Promoted to int

149966 BUG: istream::operator>>(long&) Does Not Clear errno

150000 FIX: Minimal Rebuild Fails on Access Specifier Change for Enum

150003 FIX: __vfptr Elements Are Not Properly Displayed in Debugger

150199 DOC: ThreadingModel Is Not a Subkey

150287 FIX: Custom Build Commands Fail When Built from Command Line

150292 FIX: Access Violation When Copying Src File Between Projects

150351 FIX: Absolute Pathnames for Source Files Placed in Makefile

150378 FIX: C1001 if No Template Types in Template Func Arg List

150571 DOC: CWnd::DragAcceptFiles() in Books Online

150572 BUG: Error C1001: _asm Instruction Accessing Stack Using [ebp]

150573 FIX: C2084 When Template Class Constructor Has No Body

150576 FIX: C2682 Using dynamic_cast to Cast to a Const Pointer Type

150616 BUG: Nmake Does Not Build Subproject of Type Makefile

150789 FIX: DFX_Bool Calls Default() with AFX_RFX_LONGBINARY

150884 FIX: C1001 Fatal Error in File Main.c, Line 413 for /O1 or /O2

150885 BUG: C2321 Expanding Template with a Pointer to a Nested Class

151033 FIX: Using CMultiLock Class Can Cause a Memory Leak

151070 FIX: DYNAMIC_DOWNCAST & STATIC_DOWNCAST Causes Stack Overflow

151071 FIX: Spawn Hangs When Inheriting Pipe Handle

151167 BUG: LNK2001 Error for Static Member in Class Template

151382 FIX: LoadBarState() Causes Assert In Bardock.cpp, Line 682

151446 FIX: Internal State of ControlBars Corrupted

151673 FIX: Compiler Allocates Struct with Nested Struct Incorrectly

151675 FIX: Re-throwing Exception Causes Abnormal Program Termination

151683 FIX: MFC ODBC Exceptions Using the SQL Server 6.5 Driver

151893 DOC: CCriticalSection::Lock Doesn't Do a Timed Wait

151897 FIX: CListCtrl::InsertColumn() Causes Column Data to Shift

151898 BUG: Include Directories Cannot End with a Backslash

152041 FIX: C1001 Error in 'msc1.cpp' on Template Function Parameter

152055 FIX: No Error and Constructor Not Called if Prototype Missing

152056 BUG: Using Intrinsic Versions of log10 and fmod

152072 FIX: ASSERT in OLECLI1.CPP When Copying Embedding to Clipboard

152075 FIX: Control Container Support Only Works in Primary Thread

152131 FIX: C1001: Extern in Function Call or Bad Type in Prototype

152384 FIX: DDX for Short Causes Stack Corruption

152482 BUG: Error: Undefined Symbol 'DOC' from Custom AppWizard

152603 FIX: Masked Edit Tab Order Incorrect If Visible Property FALSE

152781 FIX: Incorrect Return Values from COleDateTime Members

152792 FIX: Multiple ActiveX Control Containers Under Win32s Problems

153216 BUG: GetRowsEx() Incorrectly Handles Null Field Values

153239 BUG: Multiple CRichEditView::PrintInsideRect's Are Distorted

153282 FIX: ClassWizard Overrides CDaoRecordset::Open Incorrectly

153291 BUG: Wizards Fail on Secure Microsoft Access Database

153292 FIX: Compiler Errors with COleDateTime::Format

153324 BUG: MSDEV May Leave Orphaned Threads in the Memory After Exit

153354 BUG: OLE Controls Limited to 20 Property Pages in Visual C++

153378 FIX: Syntax Error in MFC ODBC Recordset with SQL Server 6.5

153801 BUG: C2352 Error for Reference to Nested Class Member

153963 FIX: Exception in DrawCli When Displaying Summary Information

154111 BUG: Access Violation Opening a Workspace of Type Makefile

154112 FIX: Classview Cannot Find Template Member Function Definition

154648 FIX: Toolbars Broken in ENROLL Tutorial Samples

154652 FIX: Timer Callbacks Not Called in MFC 4.2 Applications

155046 BUG: Member Function Referenced Without () Compiles

155177 FIX: Sockets Application Hangs or Exhibits Poor Performance

155292 FIX: Destructor Not Called When DEBUG_NEW Is Defined

155791 BUG: Some Intermediate Files not Deleted by FileView

156067 FIX: Setting Tooltip Text in OnToolHitTest Causes Assertion

156134 FIX: CLongBinary Causes "Invalid String or Buffer Length"

156190 FIX: LNK1170 Building Project's Makefile from Command Line

157517 BUG: Uninstalling DAO 3.0 SDK Prevents Help Files from Working

161874 FIX: Displaying CPropertySheet in COleControl Causes Assert

163252 BUG: Cannot Remove BS_PUSHLIKE in Resource Edi tor

163253 BUG: "Out of Memory" Error When Saving to an Existing File

164778 BUG: Loading Visual Test Project May Crash Developer Studio

164813 FIX: Web Browser Control Hangs in CFormView

164819 FIX: Problems Using Database Classes with Jet 3.0 under NT 4.0

164947 FIX: Nested Macros Cause Errors C2065 and C2064

166505 DOC: FindNextFile Returns 0 for Last File Found

166817 FIX: Alpha MFC Regular DLL Fails After Porting from Intel

167348 BUG: Non-const Member Function Call Via const Object Allowed

167697 BUG: ActiveX Control in IE Asserts in CTLINPLC.CPP, Line 328

167960 BUG: ESC/ENTER Keys Don't Work When Editing CTreeCtrl Labels

170171 BUG: DUMPBIN Displays Cumulative Data for Multiple Arguments

172400 PRB: Class Wizard Overridables Are Not Added to Converted Proj

173027 FIX: CRichEditView as Second Splitter Pane Causes Crash

173244 BUG: FindIndex Works Incorrectly When nIndex Is Negative

173249 BUG: Print Preview Doesn't Honor Font Width Setting

REFERENCES

All bug articles contain the keyword . All documentation error articles contain the keyword kbdocerr. Microsoft will continue to add and kbdocerr articles to the Knowledge Base on a continuing basis.


Additional query words: kbVC400bug kblist

Keywords: kbinfo kbbug kblist KB142447