Generally speaking, the idea is that A.exe execute the B.exe with parameters, and then, after the execution is completed, B.exe return the content to the A.exe, and then A.exe to get the data.
First, we B.exe set up execution with startup parameters.
A.exe need to bring the start parameters, execute the B.exe, B also needs to return data, how to return it?
Above, I will demonstrate a little code from B.exe.
And how A.exe execute B.exe???
Haha, everyone should understand???? B.exe enter success, A.exe will end the process of B and kill it.
People will ask, how to not let B.exe automatically withdraw??????
I tried 2 of the above 3 types of withdrawal, but none of them worked, and they all caused B.exe not responding!!
Therefore, I can only let A.exe kill the process, which is also an opportunistic way!
Here's what A.exe got from B.exe.
|