Exported a .png. On dev machine all is well. On test machine

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
dunion
Newbie
Newbie
Posts: 19
Joined: Fri Mar 12, 2004 5:00 am

Exported a .png. On dev machine all is well. On test machine

Post by dunion » Tue Nov 11, 2008 8:55 pm

On dev machine all is fine.
On test machine I get an exception trying to export/save as .png file. I put the lpng.dll in the output directory. This is TeeChart 7.12 on Delphi6 testing on XP.

What else is missing?

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

Post by Narcís » Wed Nov 12, 2008 8:03 am

Hi dunion,

Which is the error message you get?

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

dunion
Newbie
Newbie
Posts: 19
Joined: Fri Mar 12, 2004 5:00 am

Access Violation at address 00000001. Read of address 000000

Post by dunion » Wed Nov 12, 2008 5:09 pm

It looks like for some reason it's not loading the lpng.dll, which I've tried putting in the program's directory, in the windows/system32, in windows/system and in the windows directory all 'just in case'.

On my dev machine (vista64) it's in the WOW copy of the windows/system equivalent directory and all works fine. On the two test xp machines it always throws this exception.

This is teechart pro 7.07 with source. I think I have 7.12 here as well but I haven't moved the project up yet as I wasn't quite ready to retest the world,and I plan go to 8.x for Delphi 2009 when BSD for 2009 comes out anyway.

We have a similar version of this (lpng_102.dll) for use internally for other aspects of the code which I'm guessing is based on the same sources with a bug fix. But this is also circa year 2000 ish!

But in this case on the vista box I clearly see the load of the lpng.dll in the process explorer on the 'working' machine and don't on the other one.

dunion
Newbie
Newbie
Posts: 19
Joined: Fri Mar 12, 2004 5:00 am

Thanks, I figured it out.

Post by dunion » Wed Nov 12, 2008 11:57 pm

Got it working. 7.12 seems OK. How much work in the tee-chart area is the port from Delphi Win32 to Delphi .NET?

(In terms of code changes).

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

Post by Narcís » Thu Nov 13, 2008 8:28 am

Hi dunion,

Thanks for the information. I'm glad to hear that.
I plan go to 8.x for Delphi 2009 when BSD for 2009 comes out anyway.
CodeGear's RAD Studio 2009 (Delphi and C++ Builder for Win32) has been published for some time now. Delphi's version for .NET has been announced and will be a plugin for VS.NET called Prism.
How much work in the tee-chart area is the port from Delphi Win32 to Delphi .NET?
Porting Win32 applications to VCL.NET should be easy as syntax is the same. VCL.NET assemblies are already included with v7 and v8 releases.

For porting TeeChart to WinForms Delphi .NET applications then you'd need TeeChart for .NET v3. In that case the structure of the components is the same but with some syntactical differences.
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