TeeChart for Delphi 2010
TeeChart for Delphi 2010
Hi there,
I have recently purchased the latest version of Delphi (Delphi 2010 professional). Is there any information when TeeChart 8 Pro (or later version) will be available for use in Delphi 2010?
regards,
jan lutgert
I have recently purchased the latest version of Delphi (Delphi 2010 professional). Is there any information when TeeChart 8 Pro (or later version) will be available for use in Delphi 2010?
regards,
jan lutgert
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for Delphi 2010
Hi jan,
We are currently working on it an we expect to be able to deliver a version soon. Hopefully in the next 2 weeks.
We are currently working on it an we expect to be able to deliver a version soon. Hopefully in the next 2 weeks.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart for Delphi 2010
I am also interested to hear it is close but would also like to know if we can simply copy existing Delphi version folders and implement a manual installation of say Delphi 2009 packages into Delphi 2010?
Is there any way of retro fitting the existing Delphi 2009 package for use under Delphi 2010 ? Just thought I would ask the question so development can continue on our product line as well as we have just upgraded to Delphi 2010.
Thanks.
Is there any way of retro fitting the existing Delphi 2009 package for use under Delphi 2010 ? Just thought I would ask the question so development can continue on our product line as well as we have just upgraded to Delphi 2010.
Thanks.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for Delphi 2010
Hi swesty,
If you are a sourcecode customer you could compile the packages manually using Delphi 2010 or we could even provide latest sources and TeeRecompile version so that you can do it automatically. Only having binary packages I'm afraid it won't work as they need to be compiled on each specific IDE version and they have dependencies over IDE's packages.
If you are a sourcecode customer you could compile the packages manually using Delphi 2010 or we could even provide latest sources and TeeRecompile version so that you can do it automatically. Only having binary packages I'm afraid it won't work as they need to be compiled on each specific IDE version and they have dependencies over IDE's packages.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart for Delphi 2010
Narcís,
Ok thanks for the clarification. I should have thought about that before the question. I can now see the advantage of also getting the source code as part of the license.
Cheers.
Ok thanks for the clarification. I should have thought about that before the question. I can now see the advantage of also getting the source code as part of the license.
Cheers.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for Delphi 2010
Hi swesty,
You're welcome.
If you are interested on upgrading your license you can contact our Sales Dept. at sales at steema dot com.
You're welcome.
If you are interested on upgrading your license you can contact our Sales Dept. at sales at steema dot com.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: TeeChart for Delphi 2010
I have found several problems with 8.05 and Delphi2010.
But the only blocking parts are some stuff in GIFImage.pas
First of all, you need to add some definitions for the Delphi2010 compiler
GIFImage.pas @ line 406 (Add the following lines)
The second thing you need to pay attention to is the use of "With" statements in Delphi2010, since it has become read only for some reason.
So at line 4782, where you can see the following code with a "With" statement:
You should change that to:
There are more positions in GIFImage.pas where this occurs.
Change that and you will be able to recompile 8.05 for Delphi2010.
There are however some major problems with the installation routine.
The installer of 8.05 seems to be writing to the wrong registry key "HKCU\Software\CodeGear\BDS\8.0" this should be "HKCU\Software\CodeGear\BDS\7.0"
You can fix this by manually editing the registry (I did an export on the faulty 8.0 key, changed the REG file in notepad so 8.0 becomes 7.0, and then imported it to the registry again)
WARNING, remember to add your existing data for "Search path", "Debug DCS Path" and "Browsing Path" before importing the reg file gain, otherwise you will overwrite your existing settings!!!
I also detected that the the recompile application doesnt handle long path names, so you might want to install into "C:\TeeChart" and run the recompiler from there.
Hope this helps someone until Steema has released a version that fully supports Delphi2010.
But the only blocking parts are some stuff in GIFImage.pas
First of all, you need to add some definitions for the Delphi2010 compiler
GIFImage.pas @ line 406 (Add the following lines)
Code: Select all
// 2009.09.01 ->
// Delphi 2010
{$IFDEF VER210}
{$WARN SYMBOL_PLATFORM OFF}
{$DEFINE VER10_PLUS}
{$DEFINE VER11_PLUS}
{$DEFINE VER12_PLUS}
{$DEFINE VER125_PLUS}
{$DEFINE VER13_PLUS}
{$DEFINE VER14_PLUS}
{$DEFINE VER15_PLUS}
{$DEFINE VER20_PLUS}
{$DEFINE VER21_PLUS}
{$DEFINE BAD_STACK_ALIGNMENT}
{$ENDIF}
// 2009.09.01 <-
So at line 4782, where you can see the following code with a "With" statement:
Code: Select all
with (Pal.palPalEntry[i]) do
begin
peRed := i;
peGreen := i;
peBlue := i;
peFlags := PC_NOCOLLAPSE;
end;
Code: Select all
Pal.palPalEntry[i].peRed := i;
Pal.palPalEntry[i].peGreen := i;
Pal.palPalEntry[i].peBlue := i;
Pal.palPalEntry[i].peFlags := PC_NOCOLLAPSE;
Change that and you will be able to recompile 8.05 for Delphi2010.
There are however some major problems with the installation routine.
The installer of 8.05 seems to be writing to the wrong registry key "HKCU\Software\CodeGear\BDS\8.0" this should be "HKCU\Software\CodeGear\BDS\7.0"
You can fix this by manually editing the registry (I did an export on the faulty 8.0 key, changed the REG file in notepad so 8.0 becomes 7.0, and then imported it to the registry again)
WARNING, remember to add your existing data for "Search path", "Debug DCS Path" and "Browsing Path" before importing the reg file gain, otherwise you will overwrite your existing settings!!!
I also detected that the the recompile application doesnt handle long path names, so you might want to install into "C:\TeeChart" and run the recompiler from there.
Hope this helps someone until Steema has released a version that fully supports Delphi2010.
-
- Newbie
- Posts: 2
- Joined: Fri Jul 24, 2009 12:00 am
Re: TeeChart for Delphi 2010
Hi,
Is the new version supporting Delphi 2010 going to be a maintenance version (e.g.: 8.0.6) or a new main version (9.x)?
Br,
Ferenc
Is the new version supporting Delphi 2010 going to be a maintenance version (e.g.: 8.0.6) or a new main version (9.x)?
Br,
Ferenc
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for Delphi 2010
Hi Ferenc,
It will be a v8 release.
It will be a v8 release.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart for Delphi 2010
Hello everyone,
Please notice that we have just released v8.06 which adds support for RAD Studio 2009. Version announcement can be found here:
http://www.teechart.net/support/viewtopic.php?t=10221
Please notice that we have just released v8.06 which adds support for RAD Studio 2009. Version announcement can be found here:
http://www.teechart.net/support/viewtopic.php?t=10221
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Advanced
- Posts: 228
- Joined: Tue Aug 28, 2007 12:00 am
- Location: Oregon, USA
Re: TeeChart for Delphi 2010
I don't use theMagnusF wrote: The second thing you need to pay attention to is the use of "With" statements in Delphi2010, since it has become read only for some reason.
Code: Select all
with
Code: Select all
TMyTestObj = class
private
FTestThis: string;
public
property TestThis: string read FTestThis write FTestThis;
end;
...
procedure TForm41.FormCreate(Sender: TObject);
var
lMO: TMyTestObj;
begin
lMO := TMyTestObj.Create;
try
with lMO do
TestThis := '123';
finally
lMO.Free;
end;
end;
Ed Dressel
Re: TeeChart for Delphi 2010
I agree, but there are some code that compiled on Delphi2009 (and previous versions) that no longer work for Delphi2010.TestAlways wrote: ...and this compiled just fine. I am not sure what you are seeing.
For example, if you put parenthesis around your "with" statement, members will become "read-only" within that block.
The following code will compile in Delphi2009, but not in Delphi2010.
Code: Select all
type
TMyRecord = packed record
First : integer;
Second : integer;
end;
TMyRecArray = array[0..255] of TMyRecord;
TCompRec = record
ID : integer;
Arr : TMyRecArray;
end;
implementation
procedure TForm1.Button1Click(Sender: TObject);
var AMyRec : TCompRec;
i : integer;
begin
for i := 0 to 255 do begin
with (AMyRec.Arr[i]) do
begin
First := i;
Second := i;
end;
end;
end;
Conclusion: There are some changes between Delphi2010 and Delphi2009 regarding the With statement,
but it's probably a fix for a bug that did NOT make the members read-only in some corner cases when using parentheses.
/Magnus
-
- Advanced
- Posts: 228
- Joined: Tue Aug 28, 2007 12:00 am
- Location: Oregon, USA
Re: TeeChart for Delphi 2010
just curious: why would someone put parans around the object in a with statement?For example, if you put parenthesis around your "with" statement, members will become "read-only" within that block.
Re: TeeChart for Delphi 2010
I have no idea, but it makes the members readonly, but the question is, why would anyone need that?TestAlways wrote:just curious: why would someone put parans around the object in a with statement?