Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The thread 0x9bc has exited with code -1 (0xffffffff).

look at your code, it's probably one of those:

   if (FAILED(hResult)){
        std::cout << "Error : GetDefaultKinectSensor" << std::endl;
        return -1;
    }

(try to give them a disinctive return vale, so you can see, which one ecatly was triggered)

(also, maybe try to run your exe from cmdline (not from ide), so you can see, what got printed to stdout, you missed the message, because the window was closed immediately after the error)