I am having a main class called ProccesA, after I run it I am starting another main class (when ProccesA is still running for his own) and I wish to get the instance of ProccesA to use it in my class, can some one direct me how to do that ?
Share
Processes are not like threads: you cannot get access to instances of classes running in different processes, because they are in a different address space. You need to use interprocess communication facilities to communicate to other processes.