This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
Problem with #include <Vcl.Imaging.pngimage.hpp>
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?
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