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
 Access violation at addr... in module 'ievision.d
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

tylin123

Taiwan
25 Posts

Posted - Jan 22 2018 :  04:40:43  Show Profile  Reply
Dear Sir,

The current version is IEVision 4.0 with C++ Builder(XE10.1 Berlin 32Bit)

In the development of the computer is normal. But,when I finish compiling the program and executing to another computer.
The following error message appears.

I am sure there is ievision.dll and ievision64.dll in the directory.
May I ask whether there are something details ignored?

Thank you.

xequte

38182 Posts

Posted - Jan 22 2018 :  18:47:25  Show Profile  Reply
Hi

Please check the version of ievision.dll (32bit app) or ievision64.dll (64bit app) that is on the computer (by right-clicking the DLL file and choosing Properties, Details).

Also, which method triggers the error?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tylin123

Taiwan
25 Posts

Posted - Jan 22 2018 :  20:42:42  Show Profile  Reply
Hi, Nigel:

This error only happens on another computer.
In the development of the computer will not be occurance error.
So I can not find out on step by step which method will triggers error.

I think the current ievision.dll version is correct.
According to the properties you have prompted the screen is shown below.
The version number is 4.0.0.0

http://mis.gotech.biz/file/image/ERRIMG2.jpg

P.S: The demo code is based on the sample program provided by IEVision.
Go to Top of Page

xequte

38182 Posts

Posted - Jan 23 2018 :  15:18:41  Show Profile  Reply
Hi

You can use use remote debugging in Delphi to test on the other computer, or easier, just add some code to write a log file.

Can you put all of the files on the other computer into a zip, and upload them somewhere for me to test?



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tylin123

Taiwan
25 Posts

Posted - Jan 25 2018 :  00:53:28  Show Profile  Reply
Hi,

Thank you for your reply.

According to step by step from the discovery is the implementation of 'OCR->recognize(...)' only when the error occurred.

OCR->recognize(image, IEVisionRect(0, 0, 0, 0), str);


I recorded the whole process as a video, and I ask you to help find the cause of the problem.
Please refer to the video link listed below.

http://mis.gotech.biz/file/video/IMGERR.mp4
Go to Top of Page

xequte

38182 Posts

Posted - Jan 25 2018 :  15:07:45  Show Profile  Reply
Hi

Are the English language OCR files available in that folder. Can you zip up all of the files on the other computer, and upload them somewhere for me to test?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tylin123

Taiwan
25 Posts

Posted - Jan 25 2018 :  20:35:52  Show Profile  Reply
Hi, Nigel

Yes, I have English resource files in the same directory (Has been placed before).
However, the problem was still there.

I've zip the entire directory file. (Archive contains English resource file)

I've emailed you a link to download it.

Thank You.
Go to Top of Page

xequte

38182 Posts

Posted - Jan 29 2018 :  14:49:47  Show Profile  Reply
Hi

Here are updated versions of the IEVision C++ demos, please try the new OCR one:

www.imageen.com/files/other/OCR_CPP_Fix.zip
www.imageen.com/files/other/Barcode_CPP_Fix.zip
www.imageen.com/files/other/GetPeople_CPP_Fix.zip


Also, please ensure your ImageEn version is 7.5.0.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tylin123

Taiwan
25 Posts

Posted - Jan 30 2018 :  00:50:39  Show Profile  Reply
Hi Nigel,

I am glad to see your reply.

Yes, there are a few parameters must be ignored in the old version of the code, I also found this problem before, and need to be modified to compile successfully.

Unfortunately, although the code can be compiled successfully after modifying the code, but it still can not be executed properly (on another computer).

I think there are some missing files in the computer that can not be executed.

The following is a list of files in the execution environment:

SimpleOCR.exe
eng.traineddata
ievision.dll

whether other files need to be implemented?

p.s: ImageEn is already updated to version 7.5.0

Thank You.



Go to Top of Page

xequte

38182 Posts

Posted - Jan 31 2018 :  01:04:03  Show Profile  Reply
Hi

So you are saying when you unzip your sample_ocr.zip to a folder on your computer, it works there?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tylin123

Taiwan
25 Posts

Posted - Feb 01 2018 :  21:08:50  Show Profile  Reply
Hi, Nigel:

Good Morning.

Yes.
For example:

-- Computer-A: My computer is Developer Environment (with C++ Builder, Windows 7 Pro.)
-- Computer-B: Client site (only SampleOCR.EXE, eng.traineddata and ievision.dll, Windows 7 Home -or- WindowsXP)

Computer-A can be work fine, but Computer-B has after program is running as error occurs.

I'm sure Computer-B does contain the files it needs,but still can not be implemented.
Go to Top of Page

xequte

38182 Posts

Posted - Feb 04 2018 :  14:22:02  Show Profile  Reply
Hmm, I'm not quite sure what is happening here. Let me investigate some more.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

38182 Posts

Posted - Feb 06 2018 :  15:50:33  Show Profile  Reply
Can you please search your system for any other instances of for ievision*.dll (perhaps in C:\Windows\System32). Probably easiest is to start a command window and enter:

dir c:\ievision*.dll /s

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tylin123

Taiwan
25 Posts

Posted - Feb 12 2018 :  02:22:32  Show Profile  Reply
Hi Nigel,

No, there is only one ievision.dll in the directory.

I asked for a different way.
What files do I need to include if I want to publish an application developed by Ievision to the client's computer?
(except for Ievision.dll, Ievision64.dll)

Does Ievision.dll need to registered in to the system? (ex. Regsvr32.exe Ievision.dll)

Thanks.
Go to Top of Page

xequte

38182 Posts

Posted - Feb 14 2018 :  15:37:39  Show Profile  Reply
Hi

For OCR, you need IEVision.DLL. plus the language files, e.g. all eng.* files.

It does NOT need to be registered in any way. Just need to exist on the path or same folder as the EXE.

You say that the computer it fails on may be XP. We have not tested on that platform for many years. It may not be compatible.

Can you email me some of your test images (that it fails on).


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tylin123

Taiwan
25 Posts

Posted - Feb 21 2018 :  20:49:58  Show Profile  Reply
Hi Nigel,

Good Morning.

I finally found the problem, it is my fault.
When after the program is executed, I switch to a different path in the code, resulting in the current path can not find the language resource file.

Therefore, the problem of 'Access violtation ...' occurred.
Solved !

P.S: Oh, BTW. OCR components also work well under Windows XP.

Thank you for your help these days.

Best regard,
James Lin
Go to Top of Page

xequte

38182 Posts

Posted - Feb 22 2018 :  04:17:14  Show Profile  Reply
Thanks for letting us know, James.

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