And you can use those functions to write a full cgi app if you don't define a console window. Just tell your server that exe files are to be executed and the output of your program goes right to the browser.