Hero
November 17th, 2004, 12:50
Hi all
I have a simple question.What is the parent process of
"explorer.exe" ?
I use a simple algorithm (perhaps strange) to find parent
process filename of current one.
I use CreateToolhelp32Snapshot,Process32First,Process32Next
too find this.But when I try to find explorer.exe parent process,
I get an strange result:The parent process of explorer.exe
has an ProcessID but has no process!!!!????
I do as following:
search all processes snapshots to find explorer.exe .
from data that I get I can find parent processID.
now I search all processes snapshot for this processID
But there is no process with processID!
Is there nessecery that parents chain get to "[System Process]" ?
sincerely yours
I have a simple question.What is the parent process of
"explorer.exe" ?
I use a simple algorithm (perhaps strange) to find parent
process filename of current one.
I use CreateToolhelp32Snapshot,Process32First,Process32Next
too find this.But when I try to find explorer.exe parent process,
I get an strange result:The parent process of explorer.exe
has an ProcessID but has no process!!!!????
I do as following:
search all processes snapshots to find explorer.exe .
from data that I get I can find parent processID.
now I search all processes snapshot for this processID
But there is no process with processID!
Is there nessecery that parents chain get to "[System Process]" ?
sincerely yours