T.R | Title | User | Personal Name | Date | Lines |
---|
274.1 | | DUCAT::ROSCOE | | Thu Apr 17 1997 11:51 | 5 |
| We don't see the problem here. Is the time on your box correct? Do you have
the timezone set properly? Check out the Date/Time option in the Control
Panel.
Rich
|
274.2 | OS may cause this problem | TKOV60::OKAMURA | H.Okamura PS4-2/EJD3/NSIS, Japan | Tue Apr 22 1997 22:06 | 15 |
| .2>We don't see the problem here. Is the time on your box correct? Do you have
.2>the timezone set properly? Check out the Date/Time option in the Control
.2>Panel.
I've confirmed that my timezone was GMT+09:00.
.1>I've found two referent to time related function which are 'GetLocalTime()'
I heard that WindowsNT 4.0 has problem to refer timezone information.
Since Mr. Yasuchika Okubo (WING::OKUBO) has detail information for this issue,
please ask him to get information.
Thanks,
Hiroaki
|
274.3 | additional info. | TKOV60::OKAMURA | H.Okamura PS4-2/EJD3/NSIS, Japan | Fri Apr 25 1997 05:29 | 32 |
| .2>We don't see the problem here. Is the time on your box correct? Do you have
.2>the timezone set properly? Check out the Date/Time option in the Control
.2>Panel.
Which version of Visual C++ do you use to build ACMSxp V3.0 for Intel?
Thanks to Ohkubo-san and Horie-san's help, I've found the difference among
V4.0 and V4.2.
I've tested same source code as followings and receive different results.
The produced code by VC++ V4.0 works fine, but V4.2 is not.
According to the result of DUMPBIN, the dependency of Microsoft's library
has been changed.
Hiroaki
#include <time.h>
#include <stdio.h>
void main( void )
{
struct tm *newtime;
long ltime;
time( <ime );
/* Universal Time */
newtime = gmtime( <ime );
printf( "Universal Time: %s\n", asctime( newtime ) );
}
|
274.4 | V4.0 of C++ used | CAMINO::ROSCOE | | Fri Apr 25 1997 09:01 | 3 |
| We used V4.0 of visual C++. Thanks for the information.
Rich
|