Jump to content
Software FX Community

Re: Errors after getting chart title.


Software FX

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

Archived

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

×
×
  • Create New...