I am implementing the Kinect in managed C++ using the Microsoft.Kinect assembly RRS feed

  • Question

  • And I am successful in a simple CLR console app but when trying to do it in a multithreaded Managed C++ app I have problems. It takes forever to finally hit the event handler/callback/delegate which handles frames as they come in and when it finally does it has other problems. My only clue is the possibility of a thread concurrency problem somewhere in the Kinect->Start() method though it does return normally.

    I am NOT using the NUIAPI but the assembly which is coded in C#. Since my simple CLR console app in C++ works I am assuming that is not an issue.

    I can go into more detail if anyone has had any problem like this. The code in the class managing it is pretty straightforward - it is a duplicate of the C# example ColorBasics-WPF but using the AllFramesReady event instead of just the ColorFrameReady event.

    This is a little maddening.

    Thanks for any insight and/or help!


    Thursday, January 16, 2014 8:29 PM