标签: windows winapi process
我有两个Windows应用程序(EXE)。我想这样做:
A:
void foo(int a) { MessageBox(a); }
B:
p = CreateProcess("A.exe"); CallFunction(p, "foo", 15);
如何完成“CallFunction”?
答案 0 :(得分:3)
您需要使用IPC(进程间通信)方法。有很多选项可供选择,包括DCOM,named pipes和Windows messages。