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
 AV in Simple OCR with C++ demo
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

duffo64

Italy
8 Posts

Posted - Dec 05 2017 :  04:23:40  Show Profile  Reply
Hi there,

first post as ievision user. Using C++ XE4 32 bit and I am not able to run the demo, since the line

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

throws an AV.

Read of address 00000000, so it appears that something is not initialized ?
The registered (i.e.: not an evaluation) DLL is in place, same path of executable.

Thanks

/Claudio

xequte

39145 Posts

Posted - Dec 06 2017 :  22:47:54  Show Profile  Reply
Hi Claudio

That is odd. Can you right-click the ievision.dll, select properties and confirm what version it is. Also, what version of ImageEn are you using?


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

duffo64

Italy
8 Posts

Posted - Dec 09 2017 :  03:34:26  Show Profile  Reply
Hi Nigel,

ievision dll is 3.0.8.0 (32 bit)
Imageen was at 7.0.0, so I updated it to 7.0.1, but no way. AV still popping up.

Update:
I am getting AVs only with images that are outside the demo folder. If I copy my images in the demo folder and load from there, all is working.


/Claudio
Go to Top of Page

xequte

39145 Posts

Posted - Dec 09 2017 :  13:45:19  Show Profile  Reply
Hi Claudio

Please email me a few for testing.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

duffo64

Italy
8 Posts

Posted - Dec 19 2017 :  09:06:01  Show Profile  Reply
Sorry for the late reply. In the meantine I upgraded Imageen and Ievision to the latest version.
Problem disappeared.

/Claudio
Go to Top of Page

xequte

39145 Posts

Posted - Dec 19 2017 :  19:44:23  Show Profile  Reply
Excellent

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