Hello,
I am trying to write a GUI program for a command line program in Win32 using WinAPI (so please no MFC). In my current attempt, I am creating an input pipe and an output pipe to read/write data. However, my problem comes in when I attempt to continuously read from a program or to simply write after a single read due to the way I have to "CloseHandle();"'s. Is there any good way around this that anyone can recommend? I need to keep the sub-process open the entire time I am reading from/writing to it. Is there perhaps a better way over using CreatePipe(); and CreateProcess(); to do this?
Regards,
Dennis M.