The information in this article applies to:
SYMPTOMSWhen calling the COleDateTime::Format member function with VAR_DATEVALUEONLY or VAR_TIMEVALUEONLY, you will get the following compiler error:
CAUSEThe problem is caused by not defining VAR_DATEVALUEONLY and VAR_TIMEVALUEONLY as DWORD in Oleauto.h. RESOLUTIONThe workaround is to type cast these constants to DWORD. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual C++ version 4.2. Additional query words: kbVC400bug vcfixlist420 MfcOLE
Keywords : kbole kbMFC kbVC |
Last Reviewed: July 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |