DOCUMENT:Q168912 07-MAY-2001 [visualc] TITLE :INFO: Summary List: Visual C++ 5.0 Known Problems PRODUCT :Microsoft C Compiler PROD/VER::5.0 OPER/SYS: KEYWORDS:kbList kbVC500bugkbbuglist ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual C++, 32-bit Enterprise Edition, version 5.0 - Microsoft Visual C++, 32-bit Professional Edition, version 5.0 ------------------------------------------------------------------------------- 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 5.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. NOTE: Bug articles that apply to Visual C++ version 5.0 can be found in the Microsoft Knowledge Base by searching on the "vcbuglist500" keyword. MORE INFORMATION ================ Buglist for Visual C++ 5.0 -------------------------- Q67041 BUG: Structure Tags Visible Outside of Function Prototype Scope Q72889 BUG: C Compiler May Not Catch Integer Division-by-Zero Error Q88092 BUG: Cannot Access Static Data Members in Inline Assembly Q107427 BUG: getch() Returns Incorrect Extended Key Codes Q112985 BUG: new Allocates 0 Bytes for Typedef Class Function Pointer Q113118 BUG: C2061, C2062, C2226, C2039 Occur When Using enum types Q115705 BUG: Function Style Conversion Incorrectly Generates Errors Q116170 BUG: C2099 Generated Initializing Struct with Macro Q116172 BUG: Based Ptr. Init Fails at Global Scope in CPP File Q116239 BUG: Function that Inherits Through Dominance Fails Q116240 BUG: Compiler Errors Initializing const Reference to an Array Q116325 BUG: Browser Information Shows Incorrect Reference to Variable Q116487 BUG: No Compiler Error for Ambiguous C++ Conversion Q117201 BUG: sizeof Used in Comparison Does Not Generate C4018 Q117383 BUG: C2483 Instantiating Objects with the Thread Attribute Q117384 BUG: Unable to Hit Breakpoint on ELSE IF Statement Q119393 BUG: Invalid Extraction from istrstream Does Not Set failbit Q119873 BUG: Incorrect Use of #pragma Pack Causes C1001 Errors Q120218 BUG: Warning C4056 Generated When /Op Option is Used Q120967 BUG: Try Blocks Within a Switch Statement Behave Incorrectly Q120968 BUG: Limitation w/ Disabling Warnings Above 4699 w/ #pragma Q121016 BUG: Long Query Name in Browser Causes Application Error Q121346 BUG: Spaces Preceding Header File Name Generate Build Errors Q122042 BUG: Fatal Error C1001 Using /Zg with Large C++ Header Files Q122219 DOC: CWnd::OnCommand() Parameters Documented Incorrectly Q122304 BUG: /YX and /Yc Incorrectly Allowed in Project Settings Q122370 BUG: C2248 When Access Protected Nested Class in Derived Class Q122539 BUG: C4786 or C1067 Caused by Long Identifier and /Zi Q122540 BUG: 'char *' Passed to 'const char * &' Violates Type Safety Q122541 BUG: Goto() Within Try-Except Block Causes C2705 Error Q122543 BUG: Incorrect Code When Increment Pointer Based on a Pointer Q122790 BUG: Character Constant with \0 Not Stored Properly Q123161 BUG: ios::internal Adds No Fill Characters for int and long Q125799 BUG: C2443 Using Structure Member Operand in _asm Block Q127900 BUG: C2487 Error Occurs If Multiple Static Vars Use dllexport Q128600 BUG: Redefinition of Enum Data Type Does Not Cause an Error Q128789 BUG: LNK2001 on Member Function When Use Nested Class Template Q129132 BUG: Can't Use Simple Type in an Explicit Call of a Destructor Q131100 DOC: DoDragDrop() Parameter Documented Incorrectly Q133068 BUG: Deleting a Struct Typedef Causes C1059, C1063, or C1001 Q133179 BUG: Compiler Fails Syntax Check of Extra Comma in enum List Q135526 BUG: Bad Result If Call Inline Function Twice in Expression Q138567 BUG: Incorrect Function Name Binding in Function Templates Q138695 DOC: ConstructElements & DestructElements Q138755 BUG: GPF When Drag-Drop Resources Between Two Resource Scripts Q138764 BUG: Custom Build Commands Not Assigned Values Q138847 BUG: C2572 When Define Function Pointer w/ Default Argument Q138873 BUG: Window Colors Cannot Be Customized from Developer Studio Q138953 BUG: Static Identifiers Do Not Show Up in ClassView Q139012 BUG: Cannot Map Functions to Special Keys in Developer Studio Q139028 BUG: Incomplete pragma Directive May Cause C1001 Error Q139296 BUG: C2955 Error Generated If Using Same Name as Template Q139476 BUG: File Time Incorrect After Saving During Build Q139696 BUG: WinHelp Called Twice Q139801 BUG: Windows 95 Doesn't Allow open_osfhandle on Socket Handles Q139996 BUG: Wizards Create Invalid Column Names for QueryDef Join Q140188 BUG: C1001 or C2434: Using Templates in Default Arguments Q140573 BUG: F4 to Go to Error/Tag Doesn't Always Open Source File Q140604 BUG: 'using' Declaration Doesn't Overload Base Class Members Q140858 PRB: _CRTDBG_MAP_ALLOC Does Not Work as Documented Q141345 BUG: Duplicating Resource Causes Resource ID Collision Q141456 BUG: Pressing F1 for Help on Error Message Doesn't Work Q141458 BUG: Large Selections Fail in Disassembly Window Q141866 BUG: App Error While Changing Install Dir for Visual C++ Q142493 BUG: Cannot Cast Double to int for Use in an Array Declarator Q142593 BUG: Header Files Not Excluded from Project Directory Q143082 BUG: Wrong Pointer Value When Nested Classes Have Same Name Q143109 BUG: Debugger Shows Incorrect "this" Pointer Q143313 BUG: CToolTipCtrl Stops Working After Dialog Is Displayed Q143410 DOC: Vertical Slider Control Sends WM_VSCROLL Message Q143433 BUG: Setup Does Not Validate First Three Digits of CD Key Q145995 BUG: Changes to Remote Project Files Not Detected Q147632 BUG: Browsing Template Function Definition Goes to Wrong Place Q148223 BUG: C4003 When Building Wrapper For Word.Basic 7.0 Object Q148455 BUG: CSharedFile::Detach() Does Not Call GlobalUnlock() Q148686 BUG: IOMANIPdeclare Macro Causes C2758 Error with References Q148806 BUG: Cannot Open Document from Shell If EXE Has Long File Name Q149324 BUG: Modifying Const Temporary Object Doesn't Generate Error Q149327 BUG: C2440 Expanding Template with a Pointer to a Nested Class Q149966 BUG: istream::operator>>(long&) Does Not Clear errno Q150349 BUG: Finish Button Fails Data Transfer from Page to Variables Q150571 DOC: CWnd::DragAcceptFiles() in Books Online Q150572 BUG: Error C1001: _asm Instruction Accessing Stack Using [ebp] Q150885 BUG: C2321 Expanding Template with a Pointer to a Nested Class Q151031 BUG: SetMinHeight Does Not Work Correctly with CStatusBar Q151167 BUG: LNK2001 Error for Static Member in Class Template Q151500 FIX: /Og Causes vfptr Initialization Problems Q151501 FIX: Linking Large Projects Can Be Very Slow Q151898 BUG: Include Directories Cannot End with a Backslash Q152056 BUG: Using Intrinsic Versions of log10 and fmod Q152211 BUG: Constructor Gets Called Multiple Times on the Same Object Q152254 BUG: LNK2001 on Operator>> with Class from MFC Extension DLL Q153239 BUG: Multiple CRichEditView::PrintInsideRect's Are Distorted Q153291 BUG: Wizards Fail on Secure Microsoft Access Database Q153801 BUG: C2352 Error for Reference to Nested Class Member Q154466 PRB: Unable to Locate URLMON.DLL on Windows NT 3.51 Q155046 BUG: Member Function Referenced Without () Compiles Q155292 FIX: Destructor Not Called When DEBUG_NEW Is Defined Q155716 PRB: SQL Single-Stepping Does Not Display Errors as They Occur Q155721 BUG: Access Violation in RFX_Date If CTime Not Initialized Q155791 BUG: Some Intermediate Files not Deleted by FileView Q159776 FIX: VC++ Crash When Adding Test Case Under Source-Code Control Q162160 DOC: CFileDialog::DoModal Does Not Return 0 Q163252 BUG: Cannot Remove BS_PUSHLIKE in Resource Editor Q163369 BUG: LDd Suppresses Implicit Definition of _DEBUG Q164684 PRB: "File or Project not Found" Adding Files via Integration Q164813 FIX: Web Browser Control Hangs in CFormView Q165419 BUG: SQL Debugger Displays Incorrect Value for Float Variables Q165420 BUG: SQL Breakpoint Not Hit After Executing SP in Another DB Q165432 BUG: DBGrid Does Not Insert Record if Field Name Contains Dash Q165433 BUG: Query Designer Not Inserting Record if Field Name Has Dash Q165434 BUG: Undo Database Deletion Causes Data View to Lose Database Q165744 BUG: RichEditCtrl IDs Not Shown in Member Variables Tab Q165745 DOC: CMiniFrameWnd::Create Is Missing MFS_BLOCKSYSMENU Q165746 DOC: Incomplete Documentation on CListCtrl::SetColumnWidth Q165792 FIX: MSDEV.EXE Application Error When Building an Application Q165803 BUG: Error C2783 - Cannot Deduce Non-Type Template Parameter Q165944 BUG: &(*variable) Causes C1001, trees.c line 6256 Q166109 BUG: Template Friend Function Causes Compiler Error C2248 Q166110 BUG: Can Set SQL Breakpoints on Invalid Lines Inside a Trigger Q166133 BUG: Execute .EXE Menu Item Does Not State Name of SP Q166213 BUG: Right-Clicking CRichEditView Doesn't Activate Frame Q166282 FIX: C2440 Caused by Template Function with Const Pointer Q166285 FIX: MSDEV Crashes When Converting VC++ 4.0 Projects Q166469 FIX: Multiple Check In Fails with Keyword Expansion Q166505 DOC: FindNextFile Returns 0 for Last File Found Q166513 BUG: Typedef Type Causes C2275: Illegal Use of Type Q166716 BUG: Header File Listed in SYSINCL.DAT in Dependency List Q166718 FIX: C1001 from Conditional Operator in Initializer Q166719 BUG: Wrong Exception Re-thrown with Global Optimization Q166720 BUG: ATL Object Wizard Dialog Box Comes Up Empty Q166721 FIX: Compiler Error C2784 o Q166723 BUG: ATL Object Wizard Prevents Undo Changes Q166756 BUG: Error in Requery When Set Null Date Parameter to Not Null Q166939 BUG: CRecordset::Update Fails After Upgrading Q166946 BUG: Match Brace Command Foiled by String/Character Literals Q167113 BUG: C2734, C2166: Caused by Template Function with const ref Q167170 BUG: GetWindowContextHelpId() returns 0 for ActiveX Controls Q167306 BUG: Initializer for Empty Struct Causes C2059 or C1001 Q167321 BUG: Wrong Namespace Member Selected for Qualified ID Q167324 BUG: Custom Build Rule Not Saved for File Excluded from Build Q167325 BUG: Env Vars Not Used in Exported Makefile Dependencies Q167326 BUG: Intrinsic Version of strcmp May Return Incorrect Result Q167338 BUG: Format("%D") Fails for COleDateTime and COleDateTim Q167339 BUG: New Class Added in ATLWizard Removes Edit Interface Setting Q167347 FIX: /Og Causes C1001, main.c, line 379 for Recursive Call Q167348 BUG: Non-const Member Function Call Via const Object Allowed Q167350 BUG: Default Constructor Argument Cannot Use Namespace Scope Q167351 BUG: Using Declaration Causes C2327 Q167355 BUG: C4786 Warning is Not Disabled with #pragma Warning Q167356 BUG: Same Name for Function and Class Causes C2079 Q167358 BUG: Remote Windows 95 Machine Crashes on Stop Debugging Q167359 BUG: extern Declaration Generates Extra Constructor Call Q167414 BUG: Text Copy/Paste from InfoViewer Loses Layout Q167415 PRB: Keywords for Online Docs are Merged Several Times Q167416 BUG: InfoViewer Book and Sample Links May Not Work Q167417 BUG: No Workspace Settings Tab in Stand-alone MSDN Q167423 FIX: CRecordset Members Not in "Add Member Variable" Dialog Box Q167526 FIX: ATL Control May Cause an Access Violation Q167650 FIX: Problems with ToolTips on Windows 95 Q167692 FIX: Assertion Line 257 in File Dlgprop.cpp Q167693 FIX: MFC Application Hangs on Multiprocessor Machine Q167696 BUG: Debug Static MFC Library Links to UrlMon.dll/et.dll Q167697 BUG: ActiveX Control in IE Asserts in CTLINPLC.CPP, Line 328 Q167730 BUG: Wrong Member Name in C2039 Error Message Q167731 FIX: Access Violation When Connecting in MFC ODBC Application Q167734 FILE: BUG: MFC Browser Library (MFC.BSC) Is Incomplete Q167736 BUG: MFC ISAPI Generates Access Violation in CHtmlStreamch Q167749 BUG: Access to Nested Base Class Member Functions Blocked Q167750 BUG: The pow() Function Doesn't Set Underflow Condition Q167798 BUG: Can Not Attach Process to Debugger from NT Task Manager Q167804 BUG: Source Profiler in Visual C++ 5.0 Does Not Execute Q167845 FIX: Class Wizard Deletes Source Files Q167927 BUG: Building ATL Service Project Does Not Register the Service Q167946 BUG: ATL Service EXE Doesn't Build in Release Build Q167949 FIX: OnWindowMessage Returns BOOL for HRESULT Q167960 BUG: ESC/ENTER Keys Don't Work When Editing CTreeCtrl Labels Q167966 BUG: C2248: Statics in Friends, No Access to Protected Members Q167967 FIX: /Og Increments the Index of a Loop Too Soon Q167994 FIX: Cvpack INTERNAL ERROR When Linking Large Projects Q167995 FIX: Calling a Function Returning double May Not Pop FPU Stack Q168003 FIX: Function Prototypes in comutil.h Missing Calling Convention Q168007 FIX: Remote Debugging Very Slow in Visual C++ Version 5.0 Q168008 FIX: C2166 Incorrect Type Deduction for Template Parameter Q168028 FIX: C2955 Caused by the "using" Declaration Q168029 FIX: Global Optimizations (/Og) May Cause the Compiler to Hang Q168044 BUG: ClassWizard May Fail to Derive a Class from CRecordset Q168078 BUG: C2784 Instantiating STL Objects With a UDT Parameter Q168079 FIX: _com_ptr_t::operator=(const _variant_t&) AddRefs Twice Q168081 BUG: Wrong Column Jumped to for Macro Syntax Error Q168082 BUG: Crash During Project Conversion If Project Has MAC Targets Q168111 FIX: #import Does Not Compensate for Gaps in vtable Q168123 BUG: CWindow::GetTopLevelWindow() returns NULL Q168373 BUG: C2065 When Default Constructor of a Nested Class Called Q168374 BUG: C1001 file 'msc1.cpp', line 1188, Using Recursive Namespace Q168378 BUG: Debug "Additional Dlls" Entry Shows on All Projects Q168379 BUG: Debugger Does not Step Over to __finally Code Block Q168380 BUG: Incorrect Evaluation of Static Member Functions in Debugge Q168381 BUG: Exported Make Files with Browse Info Are Rebuilt Twice Q168383 BUG: C1001 p2symtab.c, line 2221 In Direct Init of Static Q168384 BUG: C2248: No Access for Friend Class in a Template Class Q168385 BUG: The "this" Pointer is Incorrect in Destructor of Base Class Q168387 BUG: Exported Makefile May Be Useless if Custom Build Uses "CD" Q168403 BUG: Setup Doesn't Ask to Register Environment Variables Q168404 PRB: C2664 Instantiating STL List with Sequence [first, last) Q168410 BUG: Dependency Information Is Lost After Workspace Is Closed Q168411 BUG: Per-File Switch at Project Level Silently Deleted Q168419 BUG: Browse Info Flag Not Saved for Subproject After Conversion Q168420 BUG: NMAKE Build Fails When Intermediate Dir Starts with ..\ Q168424 BUG: Localize Sample Cannot Be Built Q168430 BUG: Using Referenced Integer to Access Array Generates CXX0034 Q168433 BUG: Error Using _ttoi64 with Non-Unicode Applications Q168439 BUG: _stat Function Fails for Names Ending with "\" Q168440 BUG: Stream Operator << Cannot Handle __int64 Type Q168528 PRB: Add Method/Add Property Adds To All Interfaces Q168847 BUG: "DM0025: Error attaching to process" In Windows 95 Q168912 INFO: Summary List: Visual C++ 5.0 Known Problems Q168926 BUG: "Error copying sample files" When Copying Samples to Drive Q168927 BUG: Application_NewWorkspace Event Is Never Fired Q168932 BUG: Multiple Based Conversion Results May Be Incorrect Q168934 BUG: Multiple Errors Compiling Std C++ Library Headers with /Za Q168936 BUG: Virtual Base Class Destructor Called More than Once Q168957 FIX: C1001, file 'msc1.cpp', line 1188, Caused by Name Hiding\ Q169403 PRB: Breakpoints Not Hit in Multiple Line SQL Statements Q170171 BUG: DUMPBIN Displays Cumulative Data for Multiple Arguments Q170511 BUG: WizardBar Notification Slows Down Dialog Editor Q170514 BUG: Bad Codegen with /Og and FP Mult in Class with Virt Dtor Q170530 BUG: AppWizard Project Cannot Open Include File .RC2 Q172276 FIX: CToolTipCtrl Not Displaying Text After VS SP1, SP2 Install Q172892 BUG: MSDEV Crashes if Same PDB Name Used for Compiler and Linker Q173244 BUG: FindIndex Works Incorrectly When nIndex Is Negative Q173249 BUG: Print Preview Doesn't Honor Font Width Setting Q173252 FIX: CArchive::GetObjectSchema Returns Incorrect Schema Q174403 FIX: Unresolved Externals When Building MFC42 and MFCD42xD Q177101 BUG: Modal Dialogs in MFC Regular DLL Cause ASSERT in AfxWndProc Q177421 BUG: Remote Debug in Windows NT Requires Psapi.dll Q177431 BUG: C2065: Undeclared Identifier Creating a STL Function Object Q177937 BUG: Debugger Cannot Watch Function Returning struct or union Q178995 PRB: Visual C++ Wizards Ignore "Insert Spaces" in Tabs Option Q179270 BUG: Warnings with RTTI and Automatic Precompiled Headers Q179273 BUG: C2059 Initializing Static Data Member of a Template Class Q179690 BUG: Launching COM Server with Long File Name Returns 0x80080005 Q180385 BUG: AppWizard Sometimes Fails to Display the Platforms Option Q180593 BUG: Cannot Rename Directory of a Closed Workspace Additional query words: ====================================================================== Keywords : kbList kbVC500bug kbbuglist Technology : kbVCsearch kbAudDeveloper kbVC500 kbVC32bitSearch kbVC500Search Version : :5.0 Issue type : kbinfo ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.