Software FX Posted February 1, 2000 Report Share Posted February 1, 2000 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.