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
 Recompile of a very old project in xe131 - imageen not found

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
orionmcdeath Posted - Aug 03 2026 : 05:10:59
I ran the IECompatibilityFixer.exe and it fixed most of the issues except for this last one

imageen not found in uses clause

When I removed it from uses these are the errors I get in code.

[dcc64 Error] xxxxxxxx.pas(428): E2010 Incompatible types: 'iexDefs.TIEChannel' and 'Integer'


these are the offending lines of code

bmp.ChannelOffset[0] := trunc(BTracker.Position);
bmp.ChannelOffset[1] := trunc(BTracker.Position);
bmp.ChannelOffset[2] := trunc(BTracker.Position);


BTracker is a simple UI TrackBar for the brightness providing integer values which are obviously no longer compatible

Any help greatly appreciated
Mick.


nosce te ipsum
2   L A T E S T    R E P L I E S    (Newest First)
orionmcdeath Posted - Aug 05 2026 : 03:30:49
That works a treat.

Happy days

Thanks Nigel


nosce te ipsum
xequte Posted - Aug 03 2026 : 15:54:29
Hi Mick

The imageen unit is no longer used. Please delete any references to it.

Please change the ChannelOffset code to:

ImageEnView1.IEBitmap.ChannelOffset[ iecRed ]   := trunc(BTracker.Position);
ImageEnView1.IEBitmap.ChannelOffset[ iecGreen ] := trunc(BTracker.Position);
ImageEnView1.IEBitmap.ChannelOffset[ iecBlue ]  := trunc(BTracker.Position);

https://www.imageen.com/help/TIEBitmap.ChannelOffset.html

Nigel
Xequte Software
www.imageen.com