Getting rid of the DOS window in SDL in Visual C++.....

Started by
5 comments, last by Pogo708 19 years, 7 months ago
I know I asked about this for Dev C++, but I just got Visual C++ 6. How do I fix the problem in here?
---"What? What is it? Is it the monkey in the pants? It's the monkey in the pants, isn't it. Don't give me that look."
Advertisement
Change the project type to "Win32 Application". SDL provides its own WinMain internally.
I think it wasn't the question. The question was ( if I interpreted correctly ): how is it possible to get rid of the console window that appears behind your program when you are using SDL. I had that console behind my programs when I was using SDL too, I was told that it was impossible to remove it and to live with it lol
You can get rid of it. I just explained how. You don't know how, but you refute my suggestion?

Weird.
#pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"")

that should do it
FTA, my 2D futuristic action MMORPG
both Oluseyi and Graveyard Filla are right.
______________________________________________________________________________________With the flesh of a cow.
Thanks, it worked!
---"What? What is it? Is it the monkey in the pants? It's the monkey in the pants, isn't it. Don't give me that look."

This topic is closed to new replies.

Advertisement