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
 ImageEn EBook Demos Compilation

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
Sidney Egnew Posted - Apr 06 2017 : 09:08:37
The demos provided with the ImageEn EBook are compatible with Delphi 2010. I attempted to compile and run the ImageEnMViewImageEnMIO demo. My production environment is Rad Studio XE2 and there were a large number of incompatibilities. I am current moving all applications to RadStudio 10.2 Tokyo. Are the demos available for more recent versions of RadStudio?
8   L A T E S T    R E P L I E S    (Newest First)
w2m Posted - Apr 07 2017 : 09:52:45
The new units will be added automatically, but after you open the project you have to select the save button in the ide for each unit in the project. After the save, the new units will appear in uses. Once the units are added to each unit, for the most part it will eliminate most if not all compiler errors.

I have almost completed updating the demos for Windows 10, Delphi Seattle, and ImageEn Version 6.3.2. When I finish in an hour or two, I'll email the new zip file. Please provide me with an email address that accepts zip files.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Sidney Egnew Posted - Apr 07 2017 : 09:06:47
Bill:

The only email I have received from you is dated 8/7/2015 and contains the download link. I checked my spam folder and I have not received any other emails from your address.

Thanks, Sidney
w2m Posted - Apr 07 2017 : 08:13:58
Sidney,

Did you get my emails?


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Sidney Egnew Posted - Apr 07 2017 : 08:13:28
Hello,

You have a large number of demos but none I have tried can be compiled with XE2. Here is my progress with the ImageEnMViewImageEnMIO demo:

1) Added iexBitmaps to uImageEnMViewImageEnMio
2) Removed hyiedefs, iexBitmaps from implementation in uImageEnMView.
3) Stopped here:
[DCC Hint] uImageEnMView.pas(187): H2443 Inline function 'Point' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Hint] uImageEnMView.pas(201): H2443 Inline function 'Point' has not been expanded because unit 'System.Types' is not specified in USES list
[DCC Error] uLoadFromStream.pas(55): E2018 Record, object or class type required
[DCC Error] uLoadFromStream.pas(56): E2018 Record, object or class type required
[DCC Error] uLoadFromStream.pas(62): E2018 Record, object or class type required

These errors are associated with the lines shown below. It took three attempts just to get to this point. I don't know how many more attempts it will take. Is it possible for you to update the demos and replace them in the downloadable zip file?

What do I need to do to fix uLoadFromStream?

Thanks, Sidney

ImageEnMView1.ImageTopText[i].Caption := ExtractFilename(ImageEnMView1.MIO.Params[i].FileName);
ImageEnMView1.ImageBottomText[i].Caption := 'Frame ' + IntToStr(i + 1);
...
ImageEnMView1.ImageInfoText[i].Caption := IntToStr(ImageEnMView1.ImageWidth[i]) + ' x ' +
IntToStr(ImageEnMView1.ImageHeight[i]) + ' ' + iColors;
xequte Posted - Apr 06 2017 : 22:12:03
Hi Sidney

Newer versions of ImageEn require the following units added to the uses:

hyieutils, iexBitmaps, hyiedefs, iesettings;

And from 7.0.0, the following will be needed for forms containing TImageEnView:

iexLayers, iexRulers;

Fortunately they will be added automatically if the form contains any ImageEn controls.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Apr 06 2017 : 10:55:01
Add iexBitmaps to uses.
'IEGetFileFramesCount' is defined in iexBitmaps.pas

As best as I can tell, the problems you are encountering are related to new units provided with the recent version of ImageEn and not due to the compiler.

You should add iexBitmaps to the uses of all of the demos.

When you experience this kind of problem all you have to do look up the procedure in the help file to find which unit the procedure or function occurs. When you establish this all you have to do is to add the unit to uses and the compiler problem will no longer occur.

As ImageEn changes in the future, you are likely to need to employ this technique to get changed ImageEnSource to compile if the unit containing the offending function or procedure is not found by the compiler.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Sidney Egnew Posted - Apr 06 2017 : 10:46:46
The demos were obtained in APITUI_EBOOK_101.zip. I am using XE2 and ImageEn 6.3.2.

I downloaded the zip file again and unpacked the archives. When I compile ImageEnMViewImageEnMIO I get these errors:

[DCC Error] uImageEnMView.pas(174): E2003 Undeclared identifier: 'IEGetFileFramesCount'
[DCC Fatal Error] Unit1.pas(628): F2063 Could not compile used unit 'uImageEnMView.pas'

Thanks
w2m Posted - Apr 06 2017 : 09:32:58
I do not understand why the demo will not compile for you. I just compiled the demo with Delphi Seattle, so RadStudio 10.2 Tokyo should be able to compile it.

What is your version of ImageEn?

I do not have RadStudio 10.2 Tokyo so I can not test with that environment.

If you continue to have problems please email me directly. If needed, I can email you the source I compiled with Delphi Seattle.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development