i am looking to add a console with my openGL app. this is the code i am using so you can follow what i am doing. the RedirectIOToConsole function can be found here: http://dslweb.nwnexus.com/~ast/dload/guicon.htm
Everything works great, the window open and cin and cout work good but i am unable to interact with openGL app and have to close everything and then restart. can anyone help me? thanks in advance!

hey i actually got it to work.. if anyone would like to know how to create a console in a win32 app then you can respond. no one responded to this thread so i am assuming many dont care cos they dont need something like this. to me, it seems this can be very useful.

Graphyx

02-08-2004, 03:16 PM

Hello:

Your adding a Console window to an OpenGL app
is exactly what I came here looking for.

I have an app that was originally written to work on an SGI prior to OpenGL, It uses immediate mode SGI GL commands. The user communicates with the program through the console window that was available with the
original SGI GL language. OpenGL does not provide the console I/O for some reason.

I am very interested in seeing how you got it to work so that I can resurect my programs under OpenGL.