gud day to all of you uhm i have a question is it possible to merge two the same process names i tried to manipulate them using systems diagnostics but it's no use i can only get the names not entirely merging them
gud day to all of you uhm i have a question is it possible to merge two the same process names i tried to manipulate them using systems diagnostics but it's no use i can only get the names not entirely merging them
what do you mean by merning two process names "entirely"?
Did you mean by having like this
so instead of having that you wanted to run it as one? likeMyProcess P1 = new MyProcess();
MyProcess P2 = new MyProcess()
P1.CollectFiles()
P2.PrintFiles(P1)
Traditional Win32 Processes, is a set of resources, with at least 1 thread use by a running application. Failure one process does not affect the functioning of another process not unless they are connected (which you are trying to join?)MyProcess.CollectFiles().PrintFiles()
For example:
ive got a process name paint.exe in my task manager, then i run again a paint.exe process eventually in the task manager it will have two paint.exes right? how can i merge their process names? any suggestion thanks for the advice, in the last post i aprreciate it
What's the reason why you want to merge? you want to merge but still allows to run more than one application? or you only want to run 1 paint program at a time? thus, disallowing any paint program to spawn if there is a pain program currently running.
Windows process all have different PID, Allocated Memory, CPU Time (preempted), etc... but possible to have more than one Image Name or Application name, since a program can start another program, or spawn another process.
take a look at Process Explorer from sysinternals, they can group same image name, eg. if you want to open 10 Paint application, you will only see a group box name "paint" yet, you can still pull it down to view its different pID's and more...
gumawa ka nlng bro, tapos put ur process into dictionary, map the duplicate items.
I think this is possible, observe what happen with Google chrome...
they implement a Parent and Child concept...
everything on the process is a child but there is 1 parent having an access to all attributes to all childs, attached or detached...
for your application, at first execution, a parent and a child instance already created, at second execution a new child will just associate...
Similar Threads |
|