Hi Adam,
How do you run test.exe, from within VFP or from shortcut?
>Dear Sergey,
>
>It's simple: the 4 PID's aren't always coming from the COM objects, but
>1. "runsvc" - is the first executeable which creates the service COM object,
>2. "service" - is the first COM object, which starts the .exe again with an other parameter
>3. "runtask" - is the "test.exe x" executable again which creates the task COM object,
>4. "task" - the task COM object, which "executes" the task
>
>so, as the documentation states out of process COM object should run in their own context, not in the creator's, not in an other objects. That's why there should be 4 different PID's.
>
--sb--