Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1505 - Access Violation in module TeeChart201564.ocx
Summary: Access Violation in module TeeChart201564.ocx
Status: UNCONFIRMED
Alias: None
Product: ActiveX TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: TeeChart Pro Activex Control v2015 v2015.0.0.2 Release
Hardware: PC Windows
: --- blocker
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
: 1465 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-04-12 06:01 EDT by fredj9988
Modified: 2016-05-26 06:10 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
Chart.zip (232.16 KB, application/zip)
2016-04-12 06:01 EDT, fredj9988
Details
Chart (Updated) (441.83 KB, application/zip)
2016-05-03 04:58 EDT, fredj9988
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fredj9988 2016-04-12 06:01:42 EDT
Created attachment 587 [details]
Chart.zip

Hi,

When there are huge number of memory allocations performed, the OCX fails to load. It happens with the versions 2015.0.0.2 and 2015.0.0.3.
Our application is highly memory intensive, therefore the OCX fails.

We have created a sample application (attached) to simulate our application.

IMPORTANT (please refer to the sample application first):
1. When the OCX is loaded before performing any huge memory allocations, then the problem vanishes.
2. If the count does not reproduce the error, then increase it by the factor of 50000 or 100000.

The attachment includes:
1. MFCApplication8: A sample application (File: MFCApplication8Dlg.cpp; Method: OnInitDialog())
2. Error.png: A screenshot of the error

Environment:
MFC
Visual Studio Pro 2013
Windows 7 64bit
RAM: 16GB
Processor: Intel Core i5-4570 CPU @3.20GHz 3.20GHz

Thanks!
Comment 1 fredj9988 2016-04-12 06:02:21 EDT
*** Bug 1465 has been marked as a duplicate of this bug. ***
Comment 2 sandra pazos 2016-04-15 10:59:22 EDT
Hello,
The application you attached, doesn't compile and doesn't run for us. Could you please, attach again a project we can compile and execute, because we try to reproduce the problem you are experiencing? 

Thanks for your collaboration
Regards
Comment 3 fredj9988 2016-04-18 12:12:55 EDT
Hi,

Could you please let me know what problems are you having with the attached sample? So I can fix those in the new sample.

The attached sample can be used in virtually any version of Visual Studio.

Thanks!
Comment 4 sandra pazos 2016-04-19 07:25:12 EDT
Hello, 

There is an incorrect include path, specifically, the below:

 #include "W:\Src\AOs\Charting\teechart2015.tlh"

Also, there isn't any chart in the project.

Thanks in advance
Sandra
Comment 5 fredj9988 2016-05-03 04:58:36 EDT
Created attachment 600 [details]
Chart (Updated)

Attachment updated
Comment 6 fredj9988 2016-05-03 05:00:04 EDT
Hi,

Apologies for the delayed response!!!

The project in the attachment has been updated and the missing files have been added.


Thanks!
Comment 7 fredj9988 2016-05-26 06:10:27 EDT
Hi there,

I would be great if I can get some update.
Thanks!