Retrieving Process ID

On 10/03/2016 at 14:24, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   17 
Platform:   Windows  ; Mac  ;  
Language(s) :     C++  ;


Is there a C4D API call for retrieving the PID given a process name? Our plugin spawns a new process when we do IPR (re-rendering) and we need to figure out if the process is still alive.


On 11/03/2016 at 01:33, xxxxxxxx wrote:

Hello and welcome,

are you talking about threads or processes? As far as I know the Cinema API does not handle processes so you would probably have to use OS functions.

Best wishes,

On 11/03/2016 at 07:43, xxxxxxxx wrote:

Hi Sebastian,

Yeah, I was talking about processes. That's too bad. 😞