Hello,
We have a VC++ MFC application and we are using TeeChart ActiveX control 2018(20180209 Release).
The following error occurs during the upgrade from "Teechart8" to "Teechart2018".
This error does not occur in "teechart8".
OS : Windows 7 or Greater
Development Environment : VS 2013 Update 4
<Crash Scenario>
========================================================================================================
In the OnCreate() function
m_TeeChart.Create(NULL, "", WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS, CRect(0,0,0,0), this, IDC_TCHART, NULL));
m_TeeChart.SetVisible(true);
After that, I start the application with m_TeeChart.SetVisible (FASLE) as hidden, and when it closed, the following Crashes occurs.
If even a single window containing chart is open, crash is not observed.
========================================================================================================
<Event Log>
========================================================================================
Faulting application name: InfomaxMain.exe, version: 1.0.0.1, time stamp: 0x5a935c57
Faulting module name: teechart2018.ocx, version: 2018.0.2.9, time stamp: 0x5a7dcfb0
Exception code: 0xc0000005
Fault offset: 0x0000621b
Faulting process id: 0x478
Faulting application start time: 0x01d3c0bd2c8f36f4
Faulting application path: C:\Infomax\bin\InfomaxMain.exe
Faulting module path: c:\infomax\bin\teechart2018.ocx
Report Id: 9255a78c-9376-40dd-ac8e-b48cbe55bc96
Faulting package full name:
Faulting package-relative application ID:
========================================================================================
<Reference>
This board is similar to the "Crash On Unload" issue.
http://www.teechart.net/support/viewtop ... =1&t=16402
Error terminating application.
Re: Error terminating application.
Hello,
Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Can you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Error terminating application.
Hi Yeray,
Thanks for reply!
We can remotely connect the PC that crashed at the end.
Developing a sample project takes a lot of time.
We request remote support and remote support via Teamview.
please let us know suitable date/time for remote session.
Thanks for the understanding!
Thanks for reply!
We can remotely connect the PC that crashed at the end.
Developing a sample project takes a lot of time.
We request remote support and remote support via Teamview.
please let us know suitable date/time for remote session.
Thanks for the understanding!
Re: Error terminating application.
Hello,
Have you tried to do this to see if it works also for you?
Have you tried to do this to see if it works also for you?
If a condition for the error to appear is to have no charts loaded (after showing a chart), a workaround could consist on having a dummy chart always loaded, hidden behind a panel for example.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Error terminating application.
Hi Yeray,
Thanks for reply!
I do not understand what you proposed.
If you have sample code to help you understand, please attach it.
And please answer whether remote support is not possible.
Thanks for reply!
I do not understand what you proposed.
If you have sample code to help you understand, please attach it.
And please answer whether remote support is not possible.
Re: Error terminating application.
Hello,
However, connecting to a machine and seeing an application to crash won't help us to debug the problem.
A simple example project would do it, which sends me to a couple of posts above:
I'm not a VC++ expert but I'm trying to prepare a simple example project with a dummy chart hidden by a panel.ssjun wrote:I do not understand what you proposed.
If you have sample code to help you understand, please attach it.
We'll do it if necessary (note this is an option for Pro Support customers).ssjun wrote:And please answer whether remote support is not possible.
However, connecting to a machine and seeing an application to crash won't help us to debug the problem.
A simple example project would do it, which sends me to a couple of posts above:
Why? It doesn't mean to simplify a big project, but starting a new one with the minimum code to reproduce a problem.ssjun wrote:Developing a sample project takes a lot of time.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Error terminating application.
Hello,
Here it is the project, made with VC++ 6: Note this is just to understand the concept of having a permanent hidden chart in the main dialog and another chart in another dialog opened & closed on demand.Yeray wrote:I'm not a VC++ expert but I'm trying to prepare a simple example project with a dummy chart hidden by a panel.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |