COleDateTime error in VS.NET 2003 ?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, Recently I wrote simple code like that: // COleDateTime dt(2006,02,30,1,1,1); if (dt.GetStatus() == COleDateTime::valid) { AfxMessageBox("valid"); } else { AfxMessageBox("NOT valid"); } /// It shows message box "valid" in VS.NET 2003 ! Am I crazy ? Or sth is wrong ? It shows message box "NOT valid" in VS 6.0. Best regards, Irek Olchawski.
-
Hi, Recently I wrote simple code like that: // COleDateTime dt(2006,02,30,1,1,1); if (dt.GetStatus() == COleDateTime::valid) { AfxMessageBox("valid"); } else { AfxMessageBox("NOT valid"); } /// It shows message box "valid" in VS.NET 2003 ! Am I crazy ? Or sth is wrong ? It shows message box "NOT valid" in VS 6.0. Best regards, Irek Olchawski.