Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Dyponius

Pages: [1]
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
Quote
"Unable to query registry key for joystick at index 0: The system cannot find the file specified.
Press any key to continue...
I'm pretty positive that it isn't an error in the code, but here it is anyway:
#include <SFML/Window.hpp>
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 :)

Pages: [1]
anything