I have been using the zoomscrolldemo as an example to add scrolling to my code. I get a null pointer exception when running the attached code. The exception occurs on the following line:
m_StartDate.SetRange(&startDate, &endDate);
If I comment out the line, then everything runs ok. Any help would be appreciated.
|