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
 Compilation errors ioUnknown

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
PeterOz Posted - Oct 07 2015 : 01:10:25
Version ImageEn 6.2.0
Delphi version XE6 32 bit.

I get some compilation errors after installing the above mentioned version.

Any clues as to what I need to change to get it to cleanly compile?


This is the code:-

io.ParamsFromFile(fpath);
if io.Params.FileType<>ioUnknown then begin
idx:=ImageEnMView1.AppendImage;
ImageEnMView1.ImageFileName[idx]:=fpath;
ImageEnMView1.ImageTopText[idx].Caption:=inttostr(idx);
ImageEnMView1.ImageInfoText[idx].Caption:=inttostr(io.Params.Width)+
'x'+inttostr(io.Params.Height)+'x'+
inttostr(io.Params.BitsPerSample*io.Params.SamplesPerPixel)+'b';
ImageEnMView1.ImageBottomText[idx].Caption:=extractfilename(fpath);
ImageEnMView1.ImageBottomText[idx].Background:=$00EFEFD0;
end;

Error: Undeclared identifier ioUnknown.
Error: String does not contain a member "Caption".
Error: String does not contain a member "Background".

Note : These errors may have arisen with an earlier version of ImageEn but
I have not been able install a recent version of ImageEn until today.
To install the above mentioned version I had to manually compile the 4 packages.

Regards.
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Oct 08 2015 : 01:06:48
Sorry, that is correct.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
PeterOz Posted - Oct 07 2015 : 21:10:03
I will answer my own question.

ioUnknown is in unit hyieutils It is not in unit iexBitmaps.
PeterOz Posted - Oct 07 2015 : 06:00:58
Thank you for your reply. Before I saw your reply
I tried adding component TImageEnMView to a new form.
This added various units such as hyieutils and iexBitmaps.

I note that Delphi's help points to ioUnknown in unit hyieutils. Is that correct or do I have to recode this to iexBitmaps.ioUnknown?

I will now look into your ImageBottomText notes.
xequte Posted - Oct 07 2015 : 04:47:23
Hi

Regarding ioUnknown, add iexBitmaps to your uses clause.

For the changes to ImageBottomText, please see:

www.imageen.com/ieforum/topic.asp?TOPIC_ID=2063

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com