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
 QRImageEn.pas (335) Incompatible Types
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

irynajahnke

Germany
15 Posts

Posted - Oct 02 2018 :  02:52:32  Show Profile  Reply
After installation EmageEn v 8.1.1 Release we have error message
[dcc64 Error] QRImageEn.pas(335): E2010 Incompatible Types: 'TIE ChangeType' and 'Boolean'

King regards
Iryna Jahnke

xequte

39053 Posts

Posted - Oct 02 2018 :  18:39:02  Show Profile  Reply
Hi Iryna

Please email me for updated QRImageEn.pas.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

irynajahnke

Germany
15 Posts

Posted - Oct 04 2018 :  03:15:58  Show Profile  Reply
Hi Nigel

After installing version 8.1.1, we received a new version of the file ieview.pas with the following changes:
ieview.pas:
befor
type
// called to notify that Bitmap has changed
TIEBitmapChangeEvent = procedure(Sender: TObject; destroying: boolean) of object;
PIEBitmapChangeEvent = ^TIEBitmapChangeEvent;

after
type
// called to notify that Bitmap has changed
TIEChangeType = (iectGeneral, iectDestroying, iectImageChange, iectLayerSelection);
TIEBitmapChangeEvent = procedure(Sender: TObject; Change: TIEChangeType) of object;
PIEBitmapChangeEvent = ^TIEBitmapChangeEvent;

The second argument of the function TIEBitmapChangeEvent changed its type.

QRImageEn.pas:
The descriptions and implementation of the function in the module QRImageEn.pas remained unchanged.
actual
procedure OnBitmapChange(Sender: TObject; destroying: boolean);
procedure TQRImageEn.OnBitmapChange(Sender: TObject; destroying: boolean);
begin
if destroying then
fImageEnView := nil
else
if assigned(fImageEnView) then
fBitmap := fImageEnView.Bitmap;
end;

As result, the compiler generates an error message:

Incompatible Types: 'TIE ChangeType' and 'Boolean'



King regards
Iryna Jahnke

Download Attachment: 201810431436_QRImageEn.txt
Go to Top of Page

xequte

39053 Posts

Posted - Oct 05 2018 :  00:34:58  Show Profile  Reply
Yes, so please email me for an updated QRImageEn.pas.

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