Wikipedia
QuickWin
QuickWin was a library from Microsoft that made it possible to compile command line MS-DOS programs as Windows 3.1 applications, displaying their output in a window.
Since the release of Windows NT, Microsoft has included support for console windows in the Windows operating system itself, eliminating the need for QuickWin.
There is a program called QuickWin on CodeProject, which does a similar thing.