1
General / Unable to query registry key for joystick at index 0
« on: February 27, 2017, 10:37:30 pm »
Hello, I've been trying to set up SFML for a while now, and I think I've almost got it working correctly. I have the simple code to open a window, but it doesn't seem to work. A blank window opens for about a half-second, then instantly closes. The console prints
Sorry to bother you, but I could use some help. Thank you
Quote
"Unable to query registry key for joystick at index 0: The system cannot find the file specified.I'm pretty positive that it isn't an error in the code, but here it is anyway:
Press any key to continue...
#include <SFML/Window.hpp>
using namespace sf;
int main() {
Window window(VideoMode(1200, 800), "Window!");
return 0;
}
using namespace sf;
int main() {
Window window(VideoMode(1200, 800), "Window!");
return 0;
}
Sorry to bother you, but I could use some help. Thank you