_popen on windows with stdout and stdin
2 answers
See the following article for a sample. It is quite long, but you can cut out the appropriate parts. http://support.microsoft.com/kb/190351
+3
source to share