Archived

This topic is now archived and is closed to further replies.

DanG

windowless application?

Recommended Posts

I want to make an application that runs without being seen. How can I do this in MSVC++6? If I make a console, it automatically gives me a window. The point of this is to make a GLUT window without that anoying console window openning as well.

Share this post


Link to post
Share on other sites
Try this (If you are using MSVC, I bet you are)
Add this to the linker options:
/SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup

(delete any other /SUBSYSTEM or /ENTRY options)

That will make your GLUT program not create a console window.

Share this post


Link to post
Share on other sites
I just accept it as part of the program. It''s also comforting
to know that my "cout" messages will always have a place to
show themselves.

*** 500 Internal Server Error ***
*** 500 Internal Server Error ***



Kami no Itte ga ore ni zettai naru!

Share this post


Link to post
Share on other sites
If you were using GLUT then it was platform independent anyway... Just changing some linker options can''t possibly impact the portability of your code, since it''s not changing any of the code.

Share this post


Link to post
Share on other sites