Thanks for your reply.
I've created my program with named pipe.
But it seems that it fails to work.
I've got such plan.
All the named pipe have names like "\\.\pipe\nameXX" where XX stands for two
The numbers are generated dynamically.
I have one named pipe in one process as a server.
Then the process creates the other process.
The second process has a named pipe with the name name(XX+1).
Then the second process listens on the named pipe.
After that the second process will create a named pipe client which connects
to the first process's named pipe.
At last, the first process will create a named pipe which connects to the
second process' named pipe seerver.
By doing this, I can send and receive message from named pipe on both
But I always get a 997 error when make the second process' named pipe.
Before that line of code, I can't find any code which called connectnamedpipe.
Are there any restrictions wiht named pipe on windows system?
Thanks for further information.