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
 QRImageEn.pas (335) Incompatible Types

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
irynajahnke Posted - Oct 02 2018 : 02:52:32
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
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 05 2018 : 00:34:58
Yes, so please email me for an updated QRImageEn.pas.

Nigel
Xequte Software
www.imageen.com
irynajahnke Posted - Oct 04 2018 : 03:15:58
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
xequte Posted - Oct 02 2018 : 18:39:02
Hi Iryna

Please email me for updated QRImageEn.pas.

Nigel
Xequte Software
www.imageen.com