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
 bugs in 64bit applications
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

am24

30 Posts

Posted - Aug 06 2014 :  00:39:16  Show Profile  Reply
for 64bit applications, the function "TImageEnMView.DeleteSelectedImages" doesn't work correctly.

1. Nested call back functions do not work correctly, at least not in Delphi XE5 for 64bit applications. To fix that issue, you have to put the function "Compare" outside of "DeleteSelectedImages". Same problem exists in "MultiSelectSortList".

2. There are several code parts where a NativeInt cast is required (instead of an integer cast). See explanation at:
http://docwiki.embarcadero.com/RADStudio/XE4/en/Converting_32-bit_Delphi_Applications_to_64-bit_Windows
I would also recommend to use a NativeInt cast in the Compare functions of #1

xequte

38604 Posts

Posted - Aug 06 2014 :  22:49:25  Show Profile  Reply
Hi

Thank you for your advice. I have updated 1 to ensure there are no more nested callback functions (for v5.1.2). I am presently investigating 2.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

am24

30 Posts

Posted - Aug 07 2014 :  05:41:22  Show Profile  Reply
yes, I also found only these two nested callback functions.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: