Does anyone have any idea how can I get the PID (process ID)
of an other process ?
the getpid() only gives back the own process pid.
I have to know and select who has sent an msg to my process.
Any help would be great.
jkovacs
Does anyone have any idea how can I get the PID (process ID)
of an other process ?
the getpid() only gives back the own process pid.
I have to know and select who has sent an msg to my process.
Any help would be great.
jkovacs
If you just want to know who is sending you message, “ConnectClientInfo()” is the way to go;
If you know process name, and want to find out the pid (like pidin -p <process_name>), you need to get the source code of pidin (on cvs.qnx.com), and look into it yourself.