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
 Unique ImageEnMView problem

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
yogiyang Posted - May 17 2013 : 03:23:43
I have observed that ImageEnMView at time is not able to load photos from some drives/partitions.

After we format the drive in question it starts working.

Any idea why?

TIA

Yogi Yang


Yogi Yang
4   L A T E S T    R E P L I E S    (Newest First)
yogiyang Posted - May 20 2013 : 08:07:11
Thanks for the info.

I will correct my code immediately.

Regards,

Yogi Yang


Yogi Yang
fab Posted - May 20 2013 : 08:01:39
MIO.LoadFromFile and ImageFileName[] should not be used together. They are alternative ways to load images.
MIO.LoadFromFile loads one o multiple pages immediately.
ImageFileName[] loads images when necessary (i.e. when displayed).
yogiyang Posted - May 20 2013 : 07:54:10

No I have not stepped through code.

This error is occurring on a clients PC.

This problem is now with ImageEn but it is due to Delphi's FileListBox as I am loading imaged in ImageEnMView like this:

flbPhotos.Directory := InputPath;
Application.ProcessMessages;
for i := 0 to flbPhotos.Items.Count - 1 do
        begin
          iemPhotos.MIO.LoadFromFile(flbPhotos.Items[i]);
          iemPhotos.ImageFileName[i] := flbPhotos.Items[i];
        end;  //for i := 0 to flbPhotos.Items.Count - 1 do


Thanks for lending a helping hand. I have pinpointed the problem and am trying to solve it.


Yogi Yang
xequte Posted - May 18 2013 : 18:05:13
Hi Yogi

I'm afraid we'll need more information than this. What way are you filling TImageEnMView, and what is the nature of the failure? Have you stepped through the code to see where it is failing?

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