logoalt Hacker News

Dwedit • today at 12:39 AM • 0 replies • view on HN

If you're feeling especially crazy, you can detect when a program was started from a console or not. That lets you make a Windows program that can display messages in the console that started the program. (But the console still is accepting inputs as if no program is running)