Page 1 of 1

Debugger Exception Notificatoin ..."EAccessViolation .

Posted: Mon Jul 02, 2007 12:07 pm
by 9350559
I am Using Teechart7.07Builder6 with borland c++bluilder enterprise suite and SourceCode version is TeeChart7.12SourceCode
( I tried Teechart7.07 source and Teechart7.11 Source but same Problem )
( my window OS version is windows XP pro... )

This is my Error Message
" Project project2.exe raised exception class EAccessViolation with message 'Access violation at address 0044f4B8 in module 'Tee7c6.bpl'. Read of address 000000AE'. Process stopped. Use Step or Run to continue ."

And may source code. source code is too sample
*** Cpp ****
//---------------------------------------------------------------------------
void __fastcall TForm1::FormCreate(TObject *Sender)
{

Series1->Clear();
randomize();
for (int i=0; i<99; i++)
Series1->AddXY(i,random(100),"", clTeeColor);

}
//------------------------------------------------------------

It's head file
//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Chart.hpp>
#include <ExtCtrls.hpp>
#include <Series.hpp>
#include <TeEngine.hpp>
#include <TeeProcs.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TChart *Chart1;
TFastLineSeries *Series1;
void __fastcall FormCreate(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

Thank you.

-----From Mars in Korea -

Posted: Mon Jul 02, 2007 12:25 pm
by narcis
Hi MARSSW,

I'm not able to reproduce the problem here. Could you please send us a simple example project we can run "as-is" to reprodcue the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments or at our upload page.

Thanks in advance.

Posted: Tue Jul 03, 2007 7:00 am
by narcis
Hi MARSSW,

Thanks for the example project.

We haven't been able to reproduce the problem here. This may be related to old version packages still being on your machine. We recommend you to uninstall TeeChart, remove all old TeeChart files from your machine and try installing latest version available at our client area (v7.07 for BCB6 and v7.12 for the sourcecode version).

Thanks in advance.