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>

edited August 2012 in LMD ElPack
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

  • These are VCL files, so not directly related to ElPack. Apart from that such problems are usually caused by several copies of the mentioned files (Zlib). Make sure that only one copy of affected files exist or make at least sure that only one version is included.
Sign In or Register to comment.