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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEUseLegacyUndoFunctionality Compile Error

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
spurgeon Posted - May 24 2016 : 08:55:02
With 6.3.0, enabling IEUseLegacyUndoFunctionality in ie.inc causes a compile error:

[dcc32 Error] imageenproc.pas(3473): E2003 Undeclared identifier: 'fRedoCaptions'

fRedoCaptions.Objects[fRedoList.Count - 1] := Pointer(iIndex);

I'm not using captions, so is it safe just to comment out this line? A speedy response is appreciated as we're nearing the end of our dev timeline.
2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 24 2016 : 18:09:00
Thanks, we have fixed this define for 6.3.1

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
spurgeon Posted - May 24 2016 : 10:10:55
I wrongly thought that the Undo/Redo update to 6.3.0 was more extensive than it was, causing my undo/redo implementation to break, so I enabled IEUseLegacyUndoFunctionality. Instead, I found that only removing my ClearUndo() after calling Undo() has fixed this issue, as stated in the docs:

"In v6.2.1 and older versions, AutoRedo did not remove the undone item from the Undo List. From v6.3.0, AutoRedo clears the entries.
To return to the older functionality, enable the IEUseLegacyUndoFunctionality define in ie.inc"

The compile error still may be something you want to look into.