TeeChart does not work in C++ Builder 4
Posted: Thu Dec 20, 2007 12:47 pm
I refer to my previous topic on canvas and brush problems, new install.
The problem is much more severe, in that almost all properties of a Tchart are not accessible or corrupted. For example, just opening a new project, placing a chart on the form and then trying to access an axis for example, gives a NULL pointer. i.e.
if (Chart1->BottomAxis==NULL) ShowMessage("IS NULL");
else ShowMessage("OK");
Same for the other axis and the chart canvas, the brush etc. The class does not appear properly defined to the VCL environment within my project.
I am running BCB 4 with both updates installed, I have ensured that all search directories are correct, I have even copied the files into the BCB directories, removed the packages and reinstalled the packages. In addition I have installed BCB4 with both updates on my "clean machine" (minimal software installed) which I keep for testing software, and then the update to TeeChart v8. Still no luck. Version 7 seems to have the same problem, and finally I have tried version 4 pro, and that works (axis is not null), but the countour series is not up to project requirements.
While I am sure that latest version of BCB will work, I really would rather not update at this point midway through a project as it will require hardware changes.
Is it possible to perform the same exercise on the Steema version of BCB 4 without source code ( i.e. check that the Chart->BotttomAxis is or is not NULL), so that I can eliminate library or directX or whatever differences there might be on our systems. At least if we get the same result it might be able to be fixed, and I can revert back to Teechart4 and get on with this project and wait for a fix. I have spent a good 3-4 days here trying to establish that the problem is not with my system, and have run out of options to try.
Maybe the soluion is to fork out the additional 80 odd euro and compile the obj files myself?
If anybody has successfully used TeeChart 8 with BCB 4 please let me know, at least I know there is some worth in hacking onwards.
The problem is much more severe, in that almost all properties of a Tchart are not accessible or corrupted. For example, just opening a new project, placing a chart on the form and then trying to access an axis for example, gives a NULL pointer. i.e.
if (Chart1->BottomAxis==NULL) ShowMessage("IS NULL");
else ShowMessage("OK");
Same for the other axis and the chart canvas, the brush etc. The class does not appear properly defined to the VCL environment within my project.
I am running BCB 4 with both updates installed, I have ensured that all search directories are correct, I have even copied the files into the BCB directories, removed the packages and reinstalled the packages. In addition I have installed BCB4 with both updates on my "clean machine" (minimal software installed) which I keep for testing software, and then the update to TeeChart v8. Still no luck. Version 7 seems to have the same problem, and finally I have tried version 4 pro, and that works (axis is not null), but the countour series is not up to project requirements.
While I am sure that latest version of BCB will work, I really would rather not update at this point midway through a project as it will require hardware changes.
Is it possible to perform the same exercise on the Steema version of BCB 4 without source code ( i.e. check that the Chart->BotttomAxis is or is not NULL), so that I can eliminate library or directX or whatever differences there might be on our systems. At least if we get the same result it might be able to be fixed, and I can revert back to Teechart4 and get on with this project and wait for a fix. I have spent a good 3-4 days here trying to establish that the problem is not with my system, and have run out of options to try.
Maybe the soluion is to fork out the additional 80 odd euro and compile the obj files myself?
If anybody has successfully used TeeChart 8 with BCB 4 please let me know, at least I know there is some worth in hacking onwards.