BUG: Visual C++ Gives GP Fault If System Date Past 18-Jan-2038Last reviewed: January 18, 1996Article ID: Q125494 |
The information in this article applies to:
SYMPTOMSWhen the system clock is set to any date/time after January 18, 2038 at 19:14:07, loading the Visual C++ development environment fails with an application error or general protection (GP) fault and execution terminates.
CAUSEThe C Run-time (CRT) has a limitation with the time/date functions. Time is measured in seconds from Jan 1, 1970. This value is a 32-bit signed integer, so it has a maximum date of Jan 18, 2038 19:14:07 or 2^31 seconds (2,147,483,648 seconds) from Jan 1, 1970 00:00:00. Because the development environment depends on time/date routines from the CRT, the time functions will fail and cause the error.
RESOLUTIONMake sure that the system date is set correctly before January 18, 2038.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional reference words: 2.00 2.10 GPF noupdate
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |