a complete working sample of named pipes running in windows.  Built with Visual Studio 2012 using win32 and C++