paperlined.org
dev > programming_languages > csharp > API
document updated 16 years ago, on May 6, 2008
Google for:
    AllocConsole()                  [win32]
    CreateConsoleScreenBuffer()     [win32]
    SetConsoleActiveScreenBuffer()  [win32]
    SetStdHandle()                  [win32]
    Console.SetOut()                [.NET]
    Console.SetIn()                 [.NET]




====[ C# examples ]====
http://gforge.com/gf/project/soapsdk/scmsvn/?action=browse&path=%2Ftrunk%2FCSharp%2FDemoClient%2FScreen%2FWinConsole.cs&view=markup
http://bytes.com/forum/thread259448.html


====[ C examples ]====
http://msdn.microsoft.com/en-us/library/ms685032.aspx
http://ems.calumet.purdue.edu/mcss/kraftrl/cs302-02/exercise6/VMmapper.c  (see "hActive" and "hInactive")
http://www.gidforums.com/t-11114.html


====[ wisdom ]====
http://msdn.microsoft.com/en-us/library/ms682088.aspx
http://msdn.microsoft.com/en-us/library/ms682075.aspx


====[ alternatives ]====
- write output offscreen, and then copy it onscreen with WriteConsoleOutput()

http://www.eggheadcafe.com/forumarchives/win32programmertools/Sep2005/post23674664.asp
http://benryves.com/tutorials/?t=winconsole&c=all