Problem with TPNGExportFormat
Posted: Tue Nov 10, 2009 10:32 pm
I use the following code in one application:
I tried to use this code in another application, but I got the following message:
Access Violation at address 0012F6A0. Write of address 00000001.
Any idea what may be causing this and why it works in a project but not the other?
Normand
Code: Select all
with TPNGExportFormat.Create do
try
Panel := AChart;
PixelFormat := pf24Bit;
SaveToFile(Filename);
finally
Free;
end;
Access Violation at address 0012F6A0. Write of address 00000001.
Any idea what may be causing this and why it works in a project but not the other?
Normand