Can I call one program within another?

2

I want to connect one program inside the other because I have a project (main, 7 Classes) in C ++ / OpenCV that should call a program also in C ++ / integrated with the tesseract, pass and receive an object so that the program will do a processing and recognition of characters).

Why do not I do it all in one program? Because the program in C ++ / OpenCV is x64 and C ++ / Tesseract Win32, there is no way to perform a C ++ / OpenCV2.4.8 / Tesseract 3.03 x64 integration (when I do it generates a stack of errors, I have already tried in various ways up to the forum developers but I did not succeed).

    
asked by anonymous 10.06.2014 / 23:01

1 answer

3

You can call with ShellExecute or WinExec. You can save the program data to a temporary file and make the second program read it.

    
15.06.2014 / 13:10