SFML community forums
Help => General => Topic started by: Calyxis on January 10, 2009, 05:44:03 pm
-
Hi community, i have a question about disabling the cmd window when using the int main(); procedure.
When I use the WinAPI method (with CreateWindow) the cmd window doesn't appear and this is what i want. But I don't want to initialize WinAPI and that other stuff. I just want to use int main();
How can i disable the cmd window? Or do I have to change settings in my IDE? I use MSVC 2008 Express. Sorry I am new to SFML.
Thanks
-
Just link to sfml-main. It's explained in the first tutorial of the Window module.
-
You may also need to set the linker subsystem to Windows
-
Ok thank you for helping :)