Jump to content
Software FX Community

GetTitle causing access violations.


User (Legacy)

Recommended Posts

I'm still getting access violations after I attempt to use the GetTitle 

property. For instance:

pChart->PutTitle(CHART_LEFTTIT, "Title 1"); // ok

LPSTR title1 = pChart->GetTitle(CHART_LEFTTIT); // ok (title1 ==

"Title 1")

pChart->PutTitle(CHART_LEFTTIT, "Title 2"); // This line

dies.

The second call to PutTitle (or indeed a call to PutFonts or anything to do

with that title) results in an access violation ("First-chance exception:

0xC0000005: Access Violation.").

What am I doing wrong?

Andrew

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...