Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Getting Parent or Child Processes in NT

Posted on 1997-07-16
2
Medium Priority
?
222 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 400 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

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…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

715 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