Page 1 of 1
Trouble running Borland C++ builder
Posted: Thu Mar 30, 2006 11:33 pm
by 9235331
I am quite frustrated. I loaded up Borland Delphi Studio 2006. I had serious problems getting my Delphi tee chart applicaitons to run. I used the pevious dicussion and postings and managed to get it to run, but with great difficulty and I am not sure how I did it.
Now I am trying to run a C++ Builder application. When I try to build or compile, I get errors on the #Include statements for Teechart.
[C++ Error] Unit1.h(24): E2209 Unable to open include file 'Chart.hpp'
[C++ Error] Unit1.h(25): E2209 Unable to open include file 'Series.hpp'
[C++ Error] Unit1.h(26): E2209 Unable to open include file 'TeEngine.hpp'
[C++ Error] Unit1.h(27): E2209 Unable to open include file 'TeeProcs.hpp'
I think that is similar to the Delphi-pascal problems, but I can't seem to fix it. Please be specific.
I am using the C++ Builder component of Delphi Studio 2006 Pro. I have TeeChart-7.
Isogon
Posted: Fri Mar 31, 2006 8:22 am
by narcis
Hi isogon,
To solve that you should open BDS 2006, go to Project, Default Options, C++ Builder, Paths and Defines and add your new TeeChart version Include folder to the Include search path list.
Posted: Fri Mar 31, 2006 11:55 pm
by 9235331
Dear Narcis,
Your suggestion solved my problem.
Now I am getting errors concerning the TeeChart components, such as:
First chance exception at $7C81EB33. Exception class EReadError with message 'Property DepthTopAxis does not exist'. Process BkgII.exe (2212)
First chance exception at $7C81EB33. Exception class EReadError with message 'Error reading Chart1->DepthTopAxis.Automatic: Property DepthTopAxis does not exist'. Process BkgII.exe (2212)
First chance exception at $7C81EB33. Exception class EReadError with message 'Property Chart1->zoom does not exist'. Process BkgII.exe (2212)
I wrote out the last one because it came up several times and now the first errors come up first.
Thanks for any help.
One more question... When I try to get teechart help hitting F1 on my C++ code, I get "OLE... error. Doe this make sense to you?
isogon.
Posted: Mon Apr 03, 2006 7:44 am
by narcis
Hi isogon,
Now I am getting errors concerning the TeeChart components, such as:
First chance exception at $7C81EB33. Exception class EReadError with message 'Property DepthTopAxis does not exist'. Process BkgII.exe (2212)
First chance exception at $7C81EB33. Exception class EReadError with message 'Error reading Chart1->DepthTopAxis.Automatic: Property DepthTopAxis does not exist'. Process BkgII.exe (2212)
First chance exception at $7C81EB33. Exception class EReadError with message 'Property Chart1->zoom does not exist'. Process BkgII.exe (2212)
I wrote out the last one because it came up several times and now the first errors come up first.
You should also check that TeeChart's Lib folder is also included at Library path list.
One more question... When I try to get teechart help hitting F1 on my C++ code, I get "OLE... error. Doe this make sense to you?
TeeChart help doesn't work in BDS because Borland changed their help format and still hasn't published and API for 3rd party tools manufacturers to merge their help files into the BDS help file system. To use TeeChart help you'll have to manually open the help file at TeeChart "Docs" folder.