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

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -