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
Export bug in v8.04
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |
hello,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.
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
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |