how to have both an OGL output window AND a command line ouput window?

Started by
3 comments, last by Indogo 2000 15 years, 8 months ago
Those of you who have used GLUT know what i mean. You would have both the 3D window and the "dos prompt" window. i'm putting togther something with no GLUT this time. just the standard gl libs and binding to a windows device context. is it possible to set up a second one? linux has me kinda spoiled on having as many output windows as you care to set up and i see nothing like that in windows. ok, i'm babbling. (thanks guys)
Advertisement
Link your program in the console subsystem and it'll automatically have a console window. Console programs can also create normal windows. Alternately you can call AllocConsole() to create a console window for a normal Windows program.
sweet...console popped up nicely!
printf didn't seem to notice it, though.
is there a special handle or something?
http://www.halcyon.com/~ast/dload/guicon.htm
lol was just about to declare finding that verty article. thx guys its working great now.

This topic is closed to new replies.

Advertisement