TeeExport and Win32 API error

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Snoopy
Newbie
Newbie
Posts: 4
Joined: Sun Jun 09, 2002 4:00 am

TeeExport and Win32 API error

Post by Snoopy » Thu Apr 22, 2010 4:19 pm

Greetings

I am using TChart Pro 5.02 in BCB5

Something has happened with my project but I don't know what.

Calling either TeeChart() or TChartPreviewer::Exceute() generates the
following error

---------------------------
A Win32 API function failed.
---------------------------

It was working fine for a very long time and now these errors. Otherwise the
normal charting functions work fine.

Any clues ??

regards
david

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeExport and Win32 API error

Post by Yeray » Fri Apr 23, 2010 7:34 am

Hi David,

I think it may be the first time we hear about this error. In fact, I haven't found any entry in the forums talking about an error like this.
The only think I can think is to suggest you to try the latest TeeChart and see if the problem is still reproducible.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Snoopy
Newbie
Newbie
Posts: 4
Joined: Sun Jun 09, 2002 4:00 am

Re: TeeExport and Win32 API error

Post by Snoopy » Sun Apr 25, 2010 5:19 am

OK so I have just downloaded the 8.06 evaluation for Builder 5 and installed it.

Now when I run Builder I get the following message. When the IDE finally comes up after clicking many timed none of the Version 8 TeeChart component palettes are available.


Cannot load package 'TEE8C5.' It contains unit 'Teeconst,';which is also contained in package 'TEE5C5'


Any ideas ??

Thanks in advance.

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TeeExport and Win32 API error

Post by Yeray » Mon Apr 26, 2010 7:53 am

Hi Snoopy,

Can you please read this thread? Same problem and solution to this issue is discussed there.

Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Snoopy
Newbie
Newbie
Posts: 4
Joined: Sun Jun 09, 2002 4:00 am

Re: TeeExport and Win32 API error

Post by Snoopy » Tue Apr 27, 2010 3:33 pm

Yes I managed to get version 8.06 going with BCB5.

You need to rebuild any components such as TMS that uses the TeeChart packages. For example when you want to rebuild the TMS components you need to delete the Tee5C5.bpi from the requires list and replace it with Tee8C5.bpi which is located in the Steema directory. Also you need to change/add the include directory to point to the Steema include directory. Then you can rebuild the package. Once all components that reference TeeChart packages have been updated and rebuilt then it lets you enable the TeeChart Pro 8 palettes.

However after recompiling my project with the version 8 of TChart I am still having the same problem as before with Win32 API errors so I am back to square one again :(

What TeeChart packages are used for TeeExport and PrintPreview ??

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

Re: TeeExport and Win32 API error

Post by Narcís » Fri Apr 30, 2010 1:52 pm

Hi Snoopy,

For print preview you should add TeePrevi unit to your project, for exporting TeExport. You'll find examples of both features in the new features demo available at TeeChart's program group.

Hope this helps!
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