Hi, i'm new user of the poco library. On the start i have problem with usage of Process and Pipes objects - i cannot find any working sample of that. I need even simplest sample how to run it in proper way. I'm fresh in inerprocess programming, so maybe here is the problem. But nice small example would be appreciated.

To not make a mess, second question of beginer. Still have problem with the process launched by poco. Let's assume, that i want to have two process, both have "while()" statement inside. I want that two procesess could start and continuosly exchange data in loop (like two separate apps with windows). But when both procesess have while() loop, one of them hangs and don't want to process messages. In this case process object from poco is right way? See example below:

// proc 1
main()
{
// launch process using poco
..

while( 1 )
{
// send something using pipe
}
}

// proc 2
main()
{
while( 1 )
{
// receive something using pipe
}
}

But proc 2 doesn't work. Is it not possibe to run two processess in this way? Maybe this should be done in completly another way?