I have a C# project building "winexe" that startup without console window.
However, I want to dispaly the console window and write stdout/stderr by giving a cmd line parameter. If it close, the application shutdown. For example: eclipse.exe -debug
How can it be done?
PS. I am using Visual Studio 2005
Tried this: http://vaibhavgaikwad.wordpress.com/2007/02/21/console-window-for-a-windows-application-in-net/ - seems to works perfectly!