I ran into an issue where the program would occasionally crash in the Render function with a read access violation error code. The problem seems to be in the underlying SetOutputOptions ChartDirector function, which seems to have an overflow error when reading the input strings. In rare cases, this overflow results in a crash.
Adding a trailing semicolon to the input string to SetOutputOptions avoids the overflow and crash. I only tested this for the case where dpi > 0; I do not know whether there is a similar overflow when only the alpha value is provided.
Issue occurred on win64 using the ChartDirector static library (chartdir70.lib), using MSVC. Have not tested on other platforms.
I ran into an issue where the program would occasionally crash in the Render function with a read access violation error code. The problem seems to be in the underlying SetOutputOptions ChartDirector function, which seems to have an overflow error when reading the input strings. In rare cases, this overflow results in a crash.
Adding a trailing semicolon to the input string to SetOutputOptions avoids the overflow and crash. I only tested this for the case where dpi > 0; I do not know whether there is a similar overflow when only the alpha value is provided.
Issue occurred on win64 using the ChartDirector static library (chartdir70.lib), using MSVC. Have not tested on other platforms.