Reputation: 16612
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?
Upvotes: 1
Views: 5024
Reputation: 16612
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.
Upvotes: 4