Solved

Getting Parent or Child Processes in NT

Posted on 1997-07-16
2
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

636 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