ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Null pointer exception problem
Posted by dale on Jul-13-2011 02:15
Attachments:
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.
symbolchart.zip
symbolchart.zip

4.48 Kb

  Re: Null pointer exception problem
Posted by dale on Jul-13-2011 07:08
I realized my mistake.  I thought CDateTimeCtrl was a standalone class to save various dates, so I didn't realize I had to create a resource on the dialog.