i have such code
Bitmap b = new Bitmap(@"d:\0.bmp");
tessnet2.Tesseract ocr = new tessnet2.Tesseract();
ocr.DoOCR(b, Rectangle.Empty);
the i try to make it through reflection
Assembly a = Assembly.Load("tessnet2_32");
Type myType = a.GetType("tessnet2.Tesseract");
MethodInfo mymethod = myType.GetMethod("DoOCR");
Object obj = Activator.CreateInstance(myType);
mymethod.Invoke(obj, null);
how can i pass parameters?