can/does a component see the current state of a host process?

In a component, I have  a line of code in a for (count tasks) loop
PROCESS PROPERTIES($i;$Proc_Name;$Proc_State;$Proc_Time)

(context of the component) 
The processes name is correctly returned, but the process state 
returned is 0 (zero),

when I execute Process State($i) in the debugger (context of the host) 
it returns process state 2.

if a component can/does see the correct process state of a host 
process, any other ideas why I am getting 2 different states for the 
same process using 2 different commands? 
(btw - zero is incorrect)

Thanks
Chip


---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to