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
 Exception handling / EOleException
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

mgroppelli

Italy
3 Posts

Posted - Jan 23 2022 :  08:30:32  Show Profile  Reply
Hello everyone,

I'm using ImageEn 9.1.0 on Delphi 10. Is there any chance to wrap the code into a statement try-except / try-finally and prevent eventual errors?

For example, with the following code, if I assign a wrong value to 'ApertureSize' param, I get an EOleException not catched.


try
  // run edge detector
  IEVStep4.IEBitmap.GetIEVisionImage.canny(fParam4Canny.FirstThreshold, fParam4Canny.SecondThreshold, fParam4Canny.ApertureSize);

except
  on lEx: Exception do
    begin
      ...
    end;
  end;


Thanks in advance

Marco

xequte

38610 Posts

Posted - Jan 24 2022 :  16:15:03  Show Profile  Reply
Hi Marco

Please update your IEVision version. This is resolved in a later update.

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

mgroppelli

Italy
3 Posts

Posted - Jan 24 2022 :  16:31:49  Show Profile  Reply
Hi Nigel,

First of all, thanks for your reply.

Unfortunately, the usage period of 12 months has expired.
Is there any other solution to this? This project is for my work and my employer has no plan to acquire another licence.

Marco
Go to Top of Page

xequte

38610 Posts

Posted - Jan 24 2022 :  18:12:33  Show Profile  Reply
Hi Marco

Can you email me with your order details.

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

mgroppelli

Italy
3 Posts

Posted - Jan 25 2022 :  03:58:59  Show Profile  Reply
Thanks Nigel.

I just emailed support@xequte.com

King Regards

Marco
Go to Top of Page

xequte

38610 Posts

Posted - Jan 25 2022 :  17:10:29  Show Profile  Reply
Thanks Marco,

I've emailed you.

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