VC6 dlg 工程 m_time 类型是 CDateTimeCtrl
int nyear= 2099;
int nmonth=12;int nday=31;
COleDateTime tDj3(nyear,nmonth,nday,0,0,0);
m_time.SetTime(tDj3);
可以正常运行
VC6
int nyear= 2099;
int nmonth=12;int nday=31;
CTime tDj3(nyear,nmonth,nday,0,0,0);
m_time.SetTime(tDj3);
mktime timecore.cpp 40 ctime 报错,跟踪后,mktime -1 由于没有mktime的代码无法跟踪,
这个代码在VS2008上正常运行。