First of all, why did you post the similar question again? Please, do not re-post — it does not help you to get better answers. Also, you had to indicate the platform you're using instead of waiting until someone asks you. You should indicate in in the question's tag (well, do it now). Again, you're the one who is interested the most, as it makes relevant answers more likely.
To use named pipes, you should start from here:
http://msdn.microsoft.com/en-us/library/aa365590(v=vs.85).aspx[
^].
Do you need code samples? Drill down and check:
http://msdn.microsoft.com/en-us/library/aa365799(v=vs.85).aspx[
^]; all five links on this page presents the use cases with short and clear code samples.
When it comes to Windows development, always check MSDN first, as a rule of thumb.
—SA