Author |
Topic |
|
tylin123
Taiwan
25 Posts |
Posted - Jan 22 2018 : 04:40:43
|
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
|
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
|
|
|
tylin123
Taiwan
25 Posts |
Posted - Jan 22 2018 : 20:42:42
|
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. |
|
|
xequte
38182 Posts |
Posted - Jan 23 2018 : 15:18:41
|
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
|
|
|
tylin123
Taiwan
25 Posts |
Posted - Jan 25 2018 : 00:53:28
|
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 |
|
|
xequte
38182 Posts |
Posted - Jan 25 2018 : 15:07:45
|
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
|
|
|
tylin123
Taiwan
25 Posts |
Posted - Jan 25 2018 : 20:35:52
|
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. |
|
|
xequte
38182 Posts |
|
tylin123
Taiwan
25 Posts |
Posted - Jan 30 2018 : 00:50:39
|
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.
|
|
|
xequte
38182 Posts |
Posted - Jan 31 2018 : 01:04:03
|
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
|
|
|
tylin123
Taiwan
25 Posts |
Posted - Feb 01 2018 : 21:08:50
|
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. |
|
|
xequte
38182 Posts |
Posted - Feb 04 2018 : 14:22:02
|
Hmm, I'm not quite sure what is happening here. Let me investigate some more.
Nigel Xequte Software www.imageen.com
|
|
|
xequte
38182 Posts |
Posted - Feb 06 2018 : 15:50:33
|
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
|
|
|
tylin123
Taiwan
25 Posts |
Posted - Feb 12 2018 : 02:22:32
|
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. |
|
|
xequte
38182 Posts |
Posted - Feb 14 2018 : 15:37:39
|
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
|
|
|
tylin123
Taiwan
25 Posts |
Posted - Feb 21 2018 : 20:49:58
|
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
|
|
|
xequte
38182 Posts |
Posted - Feb 22 2018 : 04:17:14
|
Thanks for letting us know, James.
Nigel Xequte Software www.imageen.com
|
|
|
|
Topic |
|