Microsoft KB Archive/932298

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:36, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 932298

Article Last Modified on 4/12/2007



APPLIES TO

  • Microsoft Visual C++ .NET 2003 Standard Edition



SYMPTOMS

Starting in 2007, the start date and the end date for daylight saving time (DST) in the United States will change to comply with the Energy Policy Act of 2005. DST in the United States will start three weeks earlier than it has started in the past. DST in the United States will start at 2:00 A.M. on the second Sunday in March. Additionally, DST in the United States will end one week later than it has ended in the past. DST in the United States will end at 2:00 A.M. on the first Sunday in November. In 2007, DST in the United States will start on March 11, 2007, and will end on November 4, 2007.

In Microsoft Visual C++ .NET 2003, some C runtime (CRT) functions ignore the DST rules that are set in the operating system when the TZ environment variable is set. For example, the localtime function and the _localtime64 function identify the first Sunday in April as the start date for DST and the last Sunday in October as the end date for DST. Therefore, a Visual C++ .NET 2003 application that uses the TZ environment variable may not work as expected.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual C++ .NET 2003 service pack that contains this hotfix.

To download the hotfix directly, visit the following Microsoft Web site:

Prerequisites

You must have Visual C++ .NET 2003 Service Pack 1 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name File version File size Date Time
Eh.lib 369,830 02-Feb-2007 01:46
Eh.lib 372,042 02-Feb-2007 01:46
Eh.lib 421,184 02-Feb-2007 01:46
Eh.lib 388,164 02-Feb-2007 01:46
Eh.lib 390,022 02-Feb-2007 01:46
A_map.c 13,858 02-Feb-2007 01:30
Eh.lib 407,888 02-Feb-2007 01:46
File2.h 1,868 02-Feb-2007 01:29
Internal.h 16,126 02-Feb-2007 01:29
Io.h 10,456 02-Feb-2007 01:29
Ioinit.c 12,114 02-Feb-2007 01:30
Ios.cpp 4,246 11-Jan-2007 18:20
Libcd.lib 3,063,176 02-Feb-2007 01:50
Libcd.pdb 94,208 02-Feb-2007 01:50
Libcmtd.lib 3,351,196 02-Feb-2007 01:51
Libcmtd.pdb 102,400 02-Feb-2007 01:51
Libcmt.lib 2,982,634 02-Feb-2007 01:48
Libcmt.pdb 102,400 02-Feb-2007 01:48
Libcpd.lib 4,558,488 02-Feb-2007 01:50
Libcpd.pdb 225,280 02-Feb-2007 01:50
Libcpmtd.lib 4,573,772 02-Feb-2007 01:51
Libcpmtd.pdb 233,472 02-Feb-2007 01:51
Libcpmt.lib 3,752,048 02-Feb-2007 01:48
Libcpmt.pdb 217,088 02-Feb-2007 01:48
Libcp.lib 3,701,740 02-Feb-2007 01:47
Libcp.pdb 217,088 02-Feb-2007 01:47
Libc.lib 2,746,178 02-Feb-2007 01:47
Libc.pdb 94,208 02-Feb-2007 01:47
Msdos.h 3,061 02-Feb-2007 01:29
Msvcp71d.dll 7.10.6052.0 765,952 02-Feb-2007 01:51
Msvcp71d.pdb 2,698,240 02-Feb-2007 01:51
Msvcp71.dll 7.10.6052.0 503,808 02-Feb-2007 02:13
Msvcp71.dll 7.10.6052.0 503,808 02-Feb-2007 02:13
Msvcp71.dll 7.10.6052.0 503,808 02-Feb-2007 02:13
Msvcp71.pdb 3,058,688 02-Feb-2007 02:13
Msvcprtd.lib 1,369,260 02-Feb-2007 01:51
Msvcprt.lib 1,360,324 02-Feb-2007 01:49
Msvcr71d.dll 7.10.6052.0 544,768 02-Feb-2007 01:51
Msvcr71d.pdb 1,838,080 02-Feb-2007 01:51
Msvcr71.dll 7.10.7031.4 344,064 01-Feb-2007 23:11
Msvcr71.dll 7.10.7031.4 344,064 01-Feb-2007 23:11
Msvcr71.dll 7.10.7031.4 344,064 01-Feb-2007 23:11
Msvcr71.dll 7.10.7031.4 344,064 01-Feb-2007 23:11
Msvcr71.dll 7.10.7031.4 344,064 01-Feb-2007 23:11
Msvcr71.dll 7.10.7031.4 344,064 01-Feb-2007 23:11
Msvcr71.dll 7.10.7031.4 344,064 01-Feb-2007 23:11
Msvcr71.dll 7.10.7031.4 344,064 01-Feb-2007 23:11
Msvcr71.pdb 1,575,936 01-Feb-2007 23:11
Msvcrtd.lib 444,634 02-Feb-2007 01:51
Msvcrt.lib 432,984 02-Feb-2007 01:49
Osfinfo.c 14,883 02-Feb-2007 01:30
Popen.c 17,400 02-Feb-2007 01:30
Read.c 9,948 02-Feb-2007 01:30
Stream.c 4,177 02-Feb-2007 01:30
Tzset.c 21,715 02-Feb-2007 01:30
Vc_user_crt71_rtl_x86_---.msm 202,240 02-Feb-2007 17:31
Vc_user_stl71_rtl_x86_---.msm 151,040 02-Feb-2007 17:31
_file.c 9,218 02-Feb-2007 01:30


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

After you apply this hotfix, the CRT functions identify the correct start date and the correct end date for DST when the TZ environment variable is set. For dates in 2007, the CRT functions identify the second Sunday in March as the start date for DST and the first Sunday in November as the end date for DST. For dates in 2006 and in years before 2006, the CRT functions identify the first Sunday in April as the start date for DST and the last Sunday in October as the end date for DST.

The following CRT and Microsoft Foundation Classes (MFC) functions call the localtime function and the _localtime64 function:

  • ctime
  • _wctime
  • _tctime
  • _ctime64
  • _wctime64
  • _tctime64
  • mktime
  • _mktime64
  • _utime
  • _wutime
  • _tutime
  • _utime64
  • _wutime64
  • _tutime64
  • COleDateTime::operator-
  • CTime::GetLocalTm
  • CTime::Format

These functions may also be affected by this problem.

REFERENCES

For more information about the TZ environment variable and about the _tzset function, visit the following Microsoft Developer Network (MSDN) Web site:

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Keywords: kbfix kbbug kbhotfixserver kbqfe kbpubtypekc KB932298