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


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?


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...