Index

From: Marjan Slatinek
Subject: Re: LoadChartFromFile
Date: Thu, 29 Apr 2004 11:24:58 +0200
Newsgroup: steema.public.teechart6.cppbuilder  

IMPORTANT NOTE: If you are a TeeChart registered customer, please post your
support questions at Steema Support monitored Forums for customers:
http://support.steema.com for a prompter reply.

Hi, Fraser.

The error you receive indicates the bar series class is not registered when
you try to load the chart with this series type (class). The solution is to
register this particular series class type before you load the chart. Or
alternatively (just to be safe), register all series/tool classes before you
load the chart. This can be done by including and linking the TeeEditPRO
unit in your unit header. Something like this should do the trick:

#include "TeeEditPRO.hpp"
#pragma link "TeeEditPRO"


--
Regards,

Marjan Slatinek
TeeChart Support
marjan@steema.com
--------------------------------------
"Fraser Ross" wrote in message
news:a6mpMRELEHA.2192@TEEPC.Steema.local...
> When I try to use the function I get the exception EClassNotFound and the
> message "Class TBarSeries not found". This is the instruction I called it
> with:
> LoadChartFromFile(static_cast(Chart1),
> String("C:\\Test.dat"));
>
> I appear to have successfully used SaveChartToFile although I am not
certain
> what the last parameter is.
>
> Fraser.
>
>