Debugger Exception Notificatoin ..."EAccessViolation .
Posted: Mon Jul 02, 2007 12:07 pm
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 -
( 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 -