View Full Version : getting rid of windows console?
08-01-2011, 02:20 AM
Hi! i was wondering if there is any way in which i could get rid of the windows console page and only see my opengl page.. or maybe get rid of the windows borders on my opengl page..
08-01-2011, 02:30 AM
It depends on how you compile your project, typically in the build options you can choose to build a win console project or pure win. To have more precise details, describe what tool(s) and settings you are using right now.
08-01-2011, 02:44 AM
well im using visual studio 2010 and im also using a class called imageloader anf glut's libraries.. does that help?
08-01-2011, 02:55 AM
and also one more question.. is it possible to not call createwindow in opengl? and just have the program show something on the screen without opening a window? because i have made a small news reel and now we need to take it into c# and my colleagues say if its possible to get rid of the window this could be done very simply... thanks again for your help :)
08-01-2011, 03:10 AM
Should be something like choose "Windows application" instead of "Console application" in the project creation wizard.
You can not draw anything without a window. What do you really want to do ?
08-01-2011, 05:19 AM
basically we have this electronic bulletin board which was created in c#. the problem with it was that it lagged alot and wasnt very fast. so we decided to go to opengl as it is a low level language. now i have written the opengl code for the news reel at the bottom but now we have a task of integrating the 2 together.. i was lookin at tao.net framework as a solution.. do you have any info on what i should do exactly? and what are the diffrences between tao.net framework and opengl? thanks again :)
08-01-2011, 06:45 AM
Tao framework is a wrapper to simplify the use of OpenGL (and others) from inside C# code. Sound like a good idea to use it in your case.
08-01-2011, 07:02 AM
GLUT is a simplified framework for window management (and a few other things); it has relatively limited capabilities and your requirements probably go outside of them.
You can get a window without a title bar or borders by specifying the appropriate flags for your CreateWindow call. Look at the documentation for CreateWindow on MSDN.
It's entirely possible that none of this will address your problem. The lag in your bulletin board may come from a multitude of sources: network latency, database performance, etc. OpenGL will only be useful if updating the display is your bottleneck, which - for a bulletin board - I highly doubt.
08-04-2011, 12:31 AM
thanks alot for all your help, im using TAO and its working perfectly :)
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.