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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -