Can I call one program inside another?

Asked

Viewed 866 times

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 Tesseract, pass and receive an Object so that the program (internally it will do a processing and character recognition).

Why don’t I do everything in one program? Because the program in C++/Opencv is x64 and the 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 tried it in several ways even in the developer forum but did not succeed).

1 answer

3


You can call with Shellexecute or Winexec. You can save the program data in a temporary file and make the second program read it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.