zva
August 4th, 1999, 05:51 AM
This code works properly on DEBUG version, but not on RELEASE.
//.h
CMonthCalCtrl m_cal; class member
...
//.cpp
CTime odt;
BOOL b = m_cal.GetCurSel(odt);
When in DEBUG version, odt contains the selected date, but on RELEASE it contains valid but wrong date. For ex., if I select 07-26-1999, odt has 12-20-2000. I've tested this many times. Any help will be greatly appreciated.
Thanks.
//.h
CMonthCalCtrl m_cal; class member
...
//.cpp
CTime odt;
BOOL b = m_cal.GetCurSel(odt);
When in DEBUG version, odt contains the selected date, but on RELEASE it contains valid but wrong date. For ex., if I select 07-26-1999, odt has 12-20-2000. I've tested this many times. Any help will be greatly appreciated.
Thanks.