help on saving as png problem

TeeChart for ActiveX, COM and ASP
Post Reply
oren153
Newbie
Newbie
Posts: 1
Joined: Fri Nov 15, 2002 12:00 am

help on saving as png problem

Post by oren153 » Mon May 30, 2005 6:05 pm

I am using Teechart6 activeX component from VB6, and getting a strange behaviour:
when VB is running from ASP - no problems - the file is being saved as png and everyone are happy.

but, i'm using COM exe (c++) that runs as a different process, open a thread that calls the VB - then i get an error when trying to saveToFile as png. the error is: "Method '~' of object '~' failed" (very helpfull).

when i changed the exporting from png to gif with the same process - it worked with no problems.

i've been told that it might be related to the lpng.dll, that the COM exe might be not succeeding to load it.

any ideas, anyone?
cheers!

p.s.: do anyone know if the LZW patent for GIF format is still valid?
i read that it expired in 2003/2004. can i now create GIF's with no fear?

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Jun 15, 2005 2:38 pm

Hi,
i've been told that it might be related to the lpng.dll, that the COM exe might be not succeeding to load it.

any ideas, anyone?
Yes, I'd say the same as you, seems to be a lpng.dll problem, does this happens in another machines ? Have you tried to install the lpng.dll again ?
p.s.: do anyone know if the LZW patent for GIF format is still valid?
i read that it expired in 2003/2004. can i now create GIF's with no fear?
You can see all about this at : http://www.unisys.com/about__unisys/lzw

Post Reply