We are experiencing a problem with TChart2015.ocx that we did not experience with our previous version TChart7.ocx
We create charts dynamically at runtime with the following piece of code:
CTChart* pChart = new CTChart();
We are using Visual Studio 2013, C++.
When our application exits, we find that the process (.exe) is still running in the Task Manager. This happens only after our application has displayed a tab with a TChart component on it. There are other features in our application that don’t involve TChart. When we use those, we don’t see the process still running in the task manager.
It is as if the ocx has not been released. Should we be doing something in the code explicitly to release the ocx so that our application can exit properly?
Application still running in Task Manager after exiting
Re: Application still running in Task Manager after exiting
Hello,
Could you please try if this still happens with the latest version available, v2016.0.0.2?nbp wrote:We are experiencing a problem with TChart2015.ocx that we did not experience with our previous version TChart7.ocx
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Application still running in Task Manager after exiting
I fixed this issue on my side finally by adding an AfxOleTerm(FALSE) statement in my ExitInstance(). So I don't have a locked process anymore and I'm good for now but I'm still curious to know what was happening and what was being locked up by the TChart ocx.
Re: Application still running in Task Manager after exiting
Hello,
Have you checked if this looks related to GDIPlus (disabling it just after creating the chart)?
Adopting GDIPlus as the default Canvas is one of the major changes in "newer" TeeChart versions.
Have you checked if this looks related to GDIPlus (disabling it just after creating the chart)?
Adopting GDIPlus as the default Canvas is one of the major changes in "newer" TeeChart versions.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |