Export bug in v8.04

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Yazou
Newbie
Newbie
Posts: 9
Joined: Fri Jan 30, 2009 12:00 am

Export bug in v8.04

Post by Yazou » Mon Apr 20, 2009 1:22 pm

Hello,

I has a program that uses the export methods of teechart. when I recompiled the program with the v8.04 release all the export function calls made my program crashes !!

Here is an example.
void __fastcall TExpl::Button_SaveCSVClick(TObject *Sender)
{
Screen->Cursor = crHourGlass;
UnicodeString OutputFName =ChangeFileExt(MyFile_s, ".csv");
TSeriesDataText * xlf = new TSeriesDataText(Chart1,NULL);
xlf->IncludeHeader = true;
xlf->IncludeLabels = true;
xlf->TextDelimiter =';';
UnicodeString fn= DtrPath + OutputFName;
xlf->SaveToFile(fn);// the program crashes here
delete xlf;
Screen->Cursor = crDefault;
}

Any suggestion please ?

yaz

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Apr 21, 2009 10:42 am

Hi yaz,

We are not able to reproduce the issue here. Could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Yazou
Newbie
Newbie
Posts: 9
Joined: Fri Jan 30, 2009 12:00 am

Post by Yazou » Tue Apr 21, 2009 12:50 pm

narcis wrote:Hi yaz,

We are not able to reproduce the issue here. Could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
hello,
The problem was comming from old TeeUi and Tee.lib libraries in the link option of my project. I removed them by editing the .cbproj file and everything is working well. The exported text data file is now unicode. When openning it in a text editor I get a NULL char between each 2 char.
sorry for bothering u and thank u for your feedback.

Best regards

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Apr 21, 2009 1:04 pm

Hi Yazou,

No problem. I'm glad to hear you could solve the problem. Unfortunately this is a common problem when upgrading old C++ Builder versions projects or when upgrading 3rd party components used on them.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply