You provide a lot of define options in ie.inc, but if you undef some, ImageEn will not be able to to be compiled anymore.
One of these defines is: {$DEFINE IEINCLUDEACTIONS}
If i undef it, i can't compile anymore and get this errors:
[dcc32 Hint] imageenio.pas(6755): H2164 Variable 'dummy' is declared but never used in 'TImageEnIO.SyncSaveToStreamJpeg' [dcc32 Error] imageenproc.pas(10623): E2003 Undeclared identifier: 'IEMsg_FlipHorizontal' [dcc32 Error] imageenproc.pas(10630): E2003 Undeclared identifier: 'IEMsg_FlipVertical' [dcc32 Fatal Error] iegdiplus.pas(1656): F2063 Could not compile used unit 'imageenproc.pas'
procedure TImageEnProc.Flip(dir: TFlipDir); begin if not MakeConsistentBitmap([]) then exit; if fAutoUndo then begin if dir = fdHorizontal then SaveUndo({$IFDEF IEUseLegacyUndoCaptions} Format(IERS_FLIP, [ 'H' ]), {$ELSE} IEMsg( IEMsg_FlipHorizontal ), {$ENDIF} ieuImage, True, IEOP_FLIPHORZ ) else SaveUndo({$IFDEF IEUseLegacyUndoCaptions} Format(IERS_FLIP, [ 'V' ]), {$ELSE} IEMsg( IEMsg_FlipVertical ), {$ENDIF} ieuImage, True, IEOP_FLIPVERT ); end; _FlipEx(fIEBitmap, dir); Update; DoFinishWork; end; |