Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access parent process 1

Status
Not open for further replies.

IonelBurtan

Programmer
May 25, 2001
601
RO
How can I find out the path of a parent process?
Some short samples would help. I know how to do it with current process, but how can I manage to do it with the parent process.

Tnx a lot,

s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
pass it in the command line when you do createprocess

Ion Filipski
1c.bmp
 
Tnx, but I cannot modify the parent executabile. Only the child one. The parent is an EXE I Do not have the code from.



s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Tnx. I searched and found that the parent exe indeed sends the path to it as argument in the comand line of the second one.

s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top