Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
It's my first time to use named pipe and it turns out not so well.
When I call callnamedpipe() in my thread, it returns with error 0x00000002, that "system cannot find the specified file".
Does anyone know why this happen?
Thanks.
Posted
Updated 5-Sep-11 18:15pm
v2
Comments
Sergey Alexandrovich Kryukov 5-Sep-11 11:20am    
Not before looking at your code. However, the situation is usual.
--SA

1 solution

Check the pipe name (first parameter) you're passing to the function. Have a look at this[^] sample code as well.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900