tmsc2011.cbproj doesnt build with C++Builder XE

First I had to comment out these lines in Dwmapi.hpp (don't know what the implications are)
 
typedef MilMatrix3x2D _MilMatrix3x2D;
typedef MilMatrix3x2D TMilMatrix3x2D;
typedef MilMatrix3x2D *PMilMatrix3x2D;
Now on link I get these error messages
 
[ILINK32 Error] Error: Unresolved external '__stdcall Advgdip::GdipGetImageEncodersSize(unsigned int&, unsigned int&)' referenced from C:\BDS2011\COMPONENTS\TMSCOMPONENTS\ADVREFLECTIONLABEL.OBJ
[ILINK32 Error] Error: Unresolved external '__stdcall Advgdip::GdipGetImageEncoders(unsigned int, unsigned int, Advgdip::ImageCodecInfo *)' referenced from C:\BDS2011\COMPONENTS\TMSCOMPONENTS\ADVREFLECTIONLABEL.OBJ
 
Can't find anything on google about it.
 
Regards
Adam

Delete uxtheme.h & dwmapi.h and then recompile the packages. These files are provided for older C++Builder versions and not needed for recent C++Builder IDEs.