c# - Puma .NET exception 'System.Runtime.InteropServices.COMException' -
trying recognise set of images in folder (using puma .net ocr library), first image recognised successfully, after error:
an unhandled exception of type 'system.runtime.interopservices.comexception' occurred in puma.net.dll additional information: <0x00000000>: ?????? ???.
i have special class recognition, , error happens on line:
puma.net.pumapage inputfile = new puma.net.pumapage(imagepath);
i found this link , this one, don't seem in case.
thank you
i found answer using 'using' statement
using(puma.net.pumapage inputfile = new puma.net.pumapage(imagepath)) { }
Comments
Post a Comment