mql5 expert advisor calling a C++ application

 
I want an expert advisor to say "hey computer, run your C++ application 'Process_Inputs' saved on the desktop."  (could be a console application or a WIN 32 application, saved as an executable if need be).  Is this possible?  If so, how do you do this?
 
oneilljo:
I want an expert advisor to say "hey computer, run your C++ application 'Process_Inputs' saved on the desktop."  (could be a console application or a WIN 32 application, saved as an executable if need be).  Is this possible?  If so, how do you do this?

You know, you already wrote this topic "C++ calling a mql5 script", you may as well ask this question over there instead creating a new topic, coz what you asking here and there is just communication between C++ and mql5 program

Please read this article "How to exchange data : A dll in 10 minutes", and use CreateProcess in WinAPI, like this in MQL4 forum https://www.mql5.com/en/forum/131239.

CreateProcess function (Windows)
  • msdn.microsoft.com
Creates a new process and its primary thread. The new process runs in the security context of the calling process. If the calling process is impersonating another user, the new process uses the token for the calling process, not the impersonation token. To run the new process in the security context of the user represented by the impersonation...
Reason: