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
 IELIB Error loading photos [SOLVED]
 New Topic  Reply to Topic
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

wesleybobato

Brazil
367 Posts

Posted - Mar 29 2013 :  16:14:46  Show Profile  Reply
Fabricio Hello I Have Noticed several errors with IELIB leaving
Images in TImageEnMView all grainy
it is possible to fix this in the next version of the DLL?

fab

1310 Posts

Posted - Mar 29 2013 :  16:17:50  Show Profile  Reply
Have you a way to replicate this?
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Mar 29 2013 :  16:28:06  Show Profile  Reply
Hello Fabricio yes Just You give a Very Big Load
Loading for Example 300 Images at the Same Time

Loads Several Times 300 JPEG images that this error happens.
Look at the code below I use the My Software.

sCds.First;
for I := 0 to sCds.RecordCount - 1 do
begin
if fAbort then
begin
Break;
Suspended := True;
Terminate;
end;
Application.ProcessMessages;
case DetecteFile(sCds.Fields[5].AsString) of
0:
begin
sThumbs.DeSelect;
sThumbs.ImageFileName[sThumbs.AppendImage()] := sPicture;
sCds.Next;
end;


You want a Demo compiled??
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Mar 29 2013 :  16:33:33  Show Profile  Reply
fabricio I think this only occurs when compiling in Release mode with compiler optimizations turned on.

I use Delphi XE + Windows XP and IEVISION.DLL

When I compile in Debug Mode does not occurs.

What It can be?
Go to Top of Page

fab

1310 Posts

Posted - Mar 29 2013 :  16:35:32  Show Profile  Reply
I'm sorry, this is not very helpful (an exe is not even helpful).
Could you send a simple, compilable, project?

It seems you are using multiple threads: are your calls to TImageEnMVIew synchronized?
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Mar 29 2013 :  16:35:42  Show Profile  Reply
When I compile in Debug Mode It Also Slower but no error occurs with IELIB.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Mar 29 2013 :  16:39:47  Show Profile  Reply
Yes I use that thread Several They share the resource.
I Do So ...

private
sThumbs: TImageEnMView;

constructor Create (fthumbs: TImageEnMView);
  begin
.........
sThumbs: = fThumbs;
......
end;
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Mar 29 2013 :  16:43:41  Show Profile  Reply
Tomorrow I Him because Mando Although I have to go now.
Since I'm at work yesterday .. I want to get some sleep :)
Thank you.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Mar 30 2013 :  05:48:41  Show Profile  Reply
Hello fabricio follow the example Below you simply click the button several times to load the error will occur you need to copy the folder to load IEVISION.DLL I added some screenshots for better understanding.

Note I use windows XP + Delphi XE update 1

in this example the error occurred in Debug and Release mode.
Thanks For A Great Help Fabricio Hug.

https://www.dropbox.com/s/0274zvvgoljqfu4/IELIB.zip
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Mar 30 2013 :  10:10:11  Show Profile  Reply
Fabricio this update is very important because here in the company when this error happens and we are serving customers have to start all over again upload the photos after restarting the program.

Thanks so much if you can identify this failure, many thanks and good job.

This error occurs in the Delphi DLL Errors not capture the DLL so I can not locate.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Mar 30 2013 :  10:28:26  Show Profile  Reply
Hello Fabricio got with EurekaLog Capture Error Occurs Where in this DLL Drop in on a TXT to Identify it.

Thank you

https://www.dropbox.com/s/xtko9jv3y89k90n/Print%20-%20EurekaLog.PNG
https://www.dropbox.com/s/qx1jas05jds67bs/Log%20IELIB%20-%20EurekaLog.txt
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Mar 30 2013 :  11:03:31  Show Profile  Reply
Fabricio Error Occurs In this unit jpegfilt
in the code below ....

function IEJPEG_Decomp_AllocDecompStruct():IEJPEG_Decomp_Struct;
begin
if IELibAvailable() then
result := IELib.createJPEGDecompressor()
else
raise EIEJpegException.Create(IERS_IEVISIONNOTFOUND);
end;
Go to Top of Page

fab

1310 Posts

Posted - Apr 01 2013 :  00:14:07  Show Profile  Reply
I just sent you a private message in order to try a test version.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Apr 01 2013 :  05:12:42  Show Profile  Reply
Hello Fabrizio Thank me I just your Private Message Reply I'm Waiting for Test, a Big Hug, Good Work.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Apr 01 2013 :  07:57:56  Show Profile  Reply
Congratulations Fabrizio Error Has No More, Thanks.
Also IEVISION.DLL is Possible Update?

you are the best!
Go to Top of Page

fab

1310 Posts

Posted - Apr 02 2013 :  01:23:59  Show Profile  Reply
You should have already received an updated ievision.dll.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Apr 02 2013 :  08:17:27  Show Profile  Reply
Hello Fabrizio excuse the delay in responding I got tested and worked perfectly thank you once more for your attention, a big hug and fabrizio good job.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Apr 02 2013 :  12:47:59  Show Profile  Reply
Fabrizio I went this afternoon to update our software at Iguazu Falls and upgraded all computers no longer had the error I got 4 hours monitoring. both IELIB.DLL or IEVISION.DLL not present error.
Thanks for Everything.
Go to Top of Page

fab

1310 Posts

Posted - Apr 06 2013 :  03:52:01  Show Profile  Reply
Thank you for the tests!
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Apr 06 2013 :  10:28:13  Show Profile  Reply
Fabrizio you could put this item on your list of future upgrades??

Create Transparent property to TImageEnVect and TImageEnMView, Background Style = Transparent.

Will facilitate the painting of Motor Third Party Skins.
Thank you.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Apr 06 2013 :  11:18:07  Show Profile  Reply
Hello Fabrizio is Possible when using the method TImageEnMView.MIO.LoadFromFile();
Fill Property TImageEnMView.ImageFilename[];
Automatically?
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
Jump To: