exception - C# OCR MODI Example returns an error -


http://www.codeproject.com/articles/41709/how-to-use-office-2007-ocr-using-c

i found example ocr, pasted images in c:/orc folder black english text on white background , still exception @ line

modi.document md = new modi.document();

saying : system.runtime.interopservices.comexception (0x80040154): retrieving com class factory component clsid {40942a6c-1520-4132-bdf8-bdc1f71f547b} failed due following error: 80040154. @ ocrsample.form1.checkfiletype(string directorypath) in c:\users\dmetrey\desktop\ocrsample\ocrsample\form1.cs:line 50

could clarify cause of exception? using vs2013.

figured out, changed platform target x86 , ocr working!


Comments