SFML community forums
Help => Window => Topic started by: Prominence256 on January 27, 2011, 01:08:40 am
-
I've successfully made a screen saver with VS2010. It works great, but when it opens the console appears just before the RenderWindow does, and it closes just after the RenderWindow. I want to get rid of that console window.
I've tried going into the project's properties and changing Configuration Properties -> Linker -> System -> SubSystem to Windows. However, when I tell it to compile I get this error in the file MSVCRT.lib(crtexew.obj)error LNK2001: unresolved external symbol _WinMain@16
-
http://www.sfml-dev.org/forum/search.php
Use: _WinMain as your search criteria
-
Thanks, I linked it to sfml-main and now it works :D
-
How would you do this in CSFML, since there is no csfml-main.lib anywhere?
-
Just use the C++ one. There's no actual C++ code that you will use.
-
Ah, thanks, now everything is working perfectly.