ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Inc Bug
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

zerob

198 Posts

Posted - Jul 03 2018 :  10:19:35  Show Profile  Reply
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;

xequte

39053 Posts

Posted - Jul 03 2018 :  20:25:30  Show Profile  Reply
Hi

Please email us for updated source to resolve this issue (will also be fixed in 8.0.1).

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: