Use pipe without WriteFile Func
-
I have a Pipe client which need to send data to the Pipe server. It used to send the data to screen via print statements. However, now it needs to use pipes to send data to another process (the server). I wish to change as little as possible on the orginial code. I don't want to have to go back and replace all of the print statements with WriteFile statements if it can be avoided.
-
I have a Pipe client which need to send data to the Pipe server. It used to send the data to screen via print statements. However, now it needs to use pipes to send data to another process (the server). I wish to change as little as possible on the orginial code. I don't want to have to go back and replace all of the print statements with WriteFile statements if it can be avoided.
-
I have a Pipe client which need to send data to the Pipe server. It used to send the data to screen via print statements. However, now it needs to use pipes to send data to another process (the server). I wish to change as little as possible on the orginial code. I don't want to have to go back and replace all of the print statements with WriteFile statements if it can be avoided.
Write Your own Myprintf version and call writefile from that function and change printf to Myprintf. Copy printf from printf.c maybe available someplace