Hi,
I am using Visual Studio 2005
The problem is:
The parent.exe launches a child.exe executible. In the child.exe process I want to know the commandline with which parent.exe was originally launched.
I am trying to do it as follows in child.exe:
GetCurrentProce ssId()
CreateToolhelp3 2Snapshot()
get the parent process ID of child.exe process
I get PROCESSENTRY32 for parent process...