The following works in Delphi XE2 but throws an access violation in Delphi XE:
uses
GDIPAPI, GDIPOBJ;
...
TGPImage.Create (TStreamAdapter.Create (MemStream)); // throws AV
How can I use GDI+ in Delphi XE?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using the GDI+ units from Progdigy and renaming them to avoid conflicts with the ones used in the TeeCharts package solves the issue. XE does not come with sources for these units (XE2 does), so I’m not sure why it failed.