Two Windows program (P1, P2, P1 when the program is running, it creates a subroutine P2 (i.e., P1 invokes the P2), among them P1 is the parent process, P2 founded by P1, P2 is the child,
P1 and P2 each provide a text box input (line) and a list box, the user can enter text in the text box, click the send button can be sent to each other through the message mechanism, and the other list box, according to
P1 and P2 each provide a similar OpenFileDialog controls and a text box, each program can open another file, and displayed in the input text box, click the send button can be sent to another process through Shared memory and on the other side of the text box, according to
O great god answer!!!!!!!!!!!!!!
CodePudding user response:
http://bbs.ichunqiu.com/thread-8612-1-1.html? The from=CSDNCodePudding user response:
Windows can use the pipeline process communication, news, Shared memory, etc