The information in this article applies to:
SYMPTOMSThe "this" pointer is incorrectly set up in the destructor of a base class. This problem occurs when the array delete is called and there is a class that inherits from two base classes that have virtual functions and the second base class has a virtual destructor. RESOLUTIONOne workaround is to make the base classes virtual base classes. Another option is to use something other than array new and array delete to allocate and deallocate the memory. For example, declare the array statically. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION
The following is example code:
Additional query words:
Keywords : kbtool kbCompiler kbVC500bug kbVC600bug |
Last Reviewed: February 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |