Library not compiled in BDS2006. To solve this problem, in Img32.inc move {$DEFINE RECORD_METHODS} to {$IF COMPILERVERSION >= 18.5} section