The information in this article applies to:
SYMPTOMSThe filebuf class allows you to use buffered file input/output (I/O), and provides the sync() function to flush the file buffers. However, the filebuf::overflow() and filebuf::underflow() functions do not support the use of virtual functions in the filebuf class. Classes derived from filebuf might incorrectly call filebuf::sync() when they should call the sync() function from the derived class. CAUSEThe filebuf class calls filebuf::sync() instead of calling sync(). RESOLUTIONYou can use one of the following workarounds to this problem:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION© Microsoft Corporation 1999, All Rights Reserved. Additional query words: inheritance inherit
Keywords : kbcode kbLangCPP kbVC kbVC400bug kbVC410bug kbVC420bug kbVC500bug kbVC600bug |
Last Reviewed: July 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |