Solved

Getting Parent or Child Processes in NT

Posted on 1997-07-16
2
206 Views
Last Modified: 2013-11-20
Does anyone know of a way to get the parent of a process or a list of a process's child processes running on NT.  I know under Win95 you can use the toolhelp functions to get a PROCESSENTRY32 structure which has a parent process id.  Is there an equivalent for NT?  Thanks in advance.
0
Comment
Question by:dpolyak
2 Comments
 
LVL 1

Accepted Solution

by:
kraken earned 100 total points
ID: 1302601
dpolyak -

You aren't going to like this answer, but here it is.

There is no way to determine which process created a given process in NT.  In NT, all processes run independently of each other, and do not retain their parenthood like they do in UNIX.  I wouldn't be surprised if the PROCESSENTRY32 technique for Windows 95 disappeared over the next couple of O/S releases, as Microsoft is moving toward NT.
0
 
LVL 1

Author Comment

by:dpolyak
ID: 1302602
Kracken -
thanks for the response.  Saved me a lot of time of hunting for the answer.  Found another way to accomplish what I needed.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now