I work with XE2.
When I load PNG file to TImage.Picture in C++ Builder designer, it adds this include line
#include <Vcl.Imaging.pngimage.hpp>
This generate the following error message when compiling:
[C++ Error] System.ZLib.hpp(252, 33): E2040 Declaration terminated incorrectly
What is the solution for this problem?
Comments