I have some problem using TeeChartPro V5.0.3 with C++Builder6
in debug mode.
Print Preview -> Error message
class TComboBox not found
and no preview dialog
TeeCommander -> Export Tab
error reading from from Button1->OnClick: invalid property value
in release mode both dialogs are working.
Seems to be related with the design packages.
What can I do ?
Problem with VCL 5.0.3 with C++Builder6
Hi.
Seems to me there are two possibilities:
1) BCB is referencing and using two different TeeChart version files at the same time. In this case the solution is to check all BCB search/library/include path directories and remove old TeeChart files prior to installing (reinstalling) TeeChart 5.03 for BCB.
2) TeeChart packages included with TeeChart installer were not correctly compiled (or copied from compile directory to installer). In this case the only solution is to recompile/reinstall TeeChart from source code. Do you have TeeChart source code license ?
PS : Do you get this error if you try to use runtime packages (the "Build with the runtime packages" option) ?
Seems to me there are two possibilities:
1) BCB is referencing and using two different TeeChart version files at the same time. In this case the solution is to check all BCB search/library/include path directories and remove old TeeChart files prior to installing (reinstalling) TeeChart 5.03 for BCB.
2) TeeChart packages included with TeeChart installer were not correctly compiled (or copied from compile directory to installer). In this case the only solution is to recompile/reinstall TeeChart from source code. Do you have TeeChart source code license ?
PS : Do you get this error if you try to use runtime packages (the "Build with the runtime packages" option) ?
-
- Newbie
- Posts: 2
- Joined: Mon Jun 04, 2001 4:00 am
Hi,
I got the error only without "Build with runtime packages" option
to 1)
I have compared the various files in cbuilder6\lib directory with the
files in the installed directory
K:\Borland\TeeChart Pro v5.03 for C++ Builder 6\CBuilder6\Lib\obj
It seems the installer did not overwrite
TeePrevi.dfm and
TeeExpForm.dfm
from the original installation
to 2)
I copied the files from the installation.
It works now without "Build with runtime packages" option.
I could not completely recompile the sources.
There are date differences between Teechart installation directory and Teechart source installation.
Additional problem:
In the ide the chart -> export chart dialog has many bitmap formats.
Running the program the export chart dialog has only wmf and bmpp format. What is the reason ? The same with runtime packages option.
I got the error only without "Build with runtime packages" option
to 1)
I have compared the various files in cbuilder6\lib directory with the
files in the installed directory
K:\Borland\TeeChart Pro v5.03 for C++ Builder 6\CBuilder6\Lib\obj
It seems the installer did not overwrite
TeePrevi.dfm and
TeeExpForm.dfm
from the original installation
to 2)
I copied the files from the installation.
It works now without "Build with runtime packages" option.
I could not completely recompile the sources.
There are date differences between Teechart installation directory and Teechart source installation.
Additional problem:
In the ide the chart -> export chart dialog has many bitmap formats.
Running the program the export chart dialog has only wmf and bmpp format. What is the reason ? The same with runtime packages option.
That's strange indeed.5887513 wrote:It seems the installer did not overwrite
TeePrevi.dfm and
TeeExpForm.dfm
What kind of errors do you get when you compile TeeChart sources ?5887513 wrote: I could not completely recompile the sources.
That's true. But if you recompile everything from sources, then all files will have the same datetime stamp (more less).5887513 wrote: There are date differences between Teechart installation directory and Teechart source installation.
TeeChart doesn't automatically register all image formats (for export). At design time this is done by including TeeImage*.bpl package in the package list. At runtime, this can be done by manually adding appropriate export units to the unit header and pragma link lines. Something like this:5887513 wrote: In the ide the chart -> export chart dialog has many bitmap formats.
Running the program the export chart dialog has only wmf and bmpp format. What is the reason ? The same with runtime packages option.
Code: Select all
#include "TeeJPEG.hpp";
#include "TeePNG.hpp";
#pragma link "TeeJPEG";
#pragma link "TeePNG";
Code: Select all
#include "TeeEditPRO.hpp";
#pragma link "TeeEditPRO";