I am trying use a named pipe to speak to my c application and am having trouble.<br><br>This seems like the way to go, but it doesnt work.<br>fth_stdout is a file handle to a named pipe.<br><br>outChannel = Tcl_MakeFileChannel(fth_stdout,TCL_WRITABLE);<br>Tcl_RegisterChannel(globalInterp, outChannel);<br>Tcl_SetStdChannel(outChannel, TCL_STDOUT);<br><br>I have also tried this where fth_stdout is a normal file handle and found no luck there either.<br><br>This does work however:<br>outChannel = Tcl_OpenFileChannel(globalInterp, <br> "D:\\fth\\checkout.txt","w",0777);<br>Tcl_RegisterChannel(globalInterp, outChannel);<br>Tcl_SetStdChannel(outChannel, TCL_STDOUT);<br><br>But that doesnt help me much.<br><br>Are there any brilliant people out that have a solution to this problem?