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