Jump to content
Software FX Community

Re: Errors after getting chart title.


Software FX
 Share

Recommended Posts

OK. That explains it. 

Because the DLL is designed for maximum performance, the strings passed to

it and received from it are standard ANSI strings. When getting a string

value back (getting a string property. e.g. Title) we expect that your

pointer

points to an already allocated memory space. Unlike in the ActiveX, in the

DLL we don't allocate this value.

This is the code that will do it:

char s[256], *sp;

sp = s;

sp = m_pChartFX->Title[CHART_TOPTIT];

Frank

P.S. The maximum string size in Chart FX is 256 characters including the

'\0' at the end.

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.

Guest
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.

 Share

×
×
  • Create New...