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
 Compilation errors ioUnknown
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterOz

Australia
5 Posts

Posted - Oct 07 2015 :  01:10:25  Show Profile  Reply
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.

xequte

39064 Posts

Posted - Oct 07 2015 :  04:47:23  Show Profile  Reply
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
Go to Top of Page

PeterOz

Australia
5 Posts

Posted - Oct 07 2015 :  06:00:58  Show Profile  Reply
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.
Go to Top of Page

PeterOz

Australia
5 Posts

Posted - Oct 07 2015 :  21:10:03  Show Profile  Reply
I will answer my own question.

ioUnknown is in unit hyieutils It is not in unit iexBitmaps.
Go to Top of Page

xequte

39064 Posts

Posted - Oct 08 2015 :  01:06:48  Show Profile  Reply
Sorry, that is correct.

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