Hi > {$IFDEF FPC} > {$IFDEF Windows} > Windows, > {$ELSE} > LCLIntf, > {$ENDIF} > {$ELSE} This should work always: {$IFDEF FPC} LCLIntf, {$ELSE} Regards, Juha