We are converting from Visual C++ .Net 2003 to Visual C++ .Net 2005. With our source code as compiled with 2003, we were having no problems reading one of our ODBC database tables. The problem has come in with Visual C++ 2005, where now our record classes are crashing for dates of 1900-01-01.
The application errors out in "C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include\atltime.inl" on line 197:
// indicates an illegal input time
ATLASSUME(m_time != -1);
The colum information is "CONFIGURED_DATE datetime" with a default value of "1/1/1900".
What I am curious about is what changed between Visual Studio .Net 2003 and Visual Studio 2005 which is now causing this error, and how do I fix this. Unfortunately Google as yielded no results, nor has Yahoo or the search engine within the Visual Studio 2005 Documentation.
We are using SQL Server 2000 for the storage server.
Thank you in advanced for any information you may be able to provide.