Well, to start with, I'm basically just learning my way through SFML. I've downloaded and built SFML2, 1.6, and even the binaries for 1.6, just in case, and my strange problem still occurs.
I've tested it with VC2008, VC2010, and MinGW, with identical results on each. The problem is, basically, that once SFML has created its window, I seem to be able to hear constant hard drive activity, or something else, at an unusually high frequency, sound-wise. The instant I kill the program, the noise stops.
So, just to help the far more knowledgeable people out there with as much information I can provide:
#include <SFML\Graphics.hpp>
//Variables, etc.
sf::Event Event;
bool running = true;
//Variables, etc.
int main(int argc, char *argv[])
{
sf::RenderWindow Game (sf::VideoMode (1280, 720, 32), "Lolwindow");
while (running)
{
while (Game.GetEvent (Event))
{
if (Event.Type == sf::Event::Closed)
Game.Close();
if ((Event.Type == sf::Event::KeyPressed) && (Event.Key.Code == sf::Key::Escape))
Game.Close();
}
Game.Display();
}
return 1;
}
OS: Windows 7, 64-bit, if that helps.
Also, in VC2010's output thingy, I see this once terminating the program (aside from the usual PDB file errors):
"First-chance exception at 0x0062a001 in SFML2Test.exe: 0xC0000005: Access violation."
Any help would be greatly appreciated, because SFML really is nice.. aside from this one problem I'm having.