S
Steph
hello,
i have two application,
Application 1 : with a method :
public int math_add(int a, int b)
{ return a+b;}
and a another application 2 :
Process[] NewProcessList2 =
Process.GetProcessesByName("WindowsApplication1TEST");
foreach (Process TempProcess in NewProcessList2)
{
// BUG :
TempProcess.MainModule.GetType().GetMethod("math_add").Invoke(TempProcess.MainModule,
new object[] { 2,3 });
}
how do... call a method of another running exe...
thanks
steph
i have two application,
Application 1 : with a method :
public int math_add(int a, int b)
{ return a+b;}
and a another application 2 :
Process[] NewProcessList2 =
Process.GetProcessesByName("WindowsApplication1TEST");
foreach (Process TempProcess in NewProcessList2)
{
// BUG :
TempProcess.MainModule.GetType().GetMethod("math_add").Invoke(TempProcess.MainModule,
new object[] { 2,3 });
}
how do... call a method of another running exe...
thanks
steph