I've been developing with kinect XBOX 360 for a while. Today, after connecting a different kinect device (XBOX 360) i've started getting an error on the initalization line:
kinect.Initialize(RuntimeOptions.UseSkeletalTracking | RuntimeOptions.UseDepthAndPlayerIndex | RuntimeOptions.UseColor);
The error I was getting:
Failed in native DLL. HRESULT=0x8004022b.
and the stack trace showed:
at Microsoft.Research.Kinect.Nui.SkeletonEngine..ctor(Runtime mainNui, CINuiInstanceHelper nuiInstance)
I've already tried :
- Reinstalling all kinect related drivers and restarting.
- Switching back to the old kinect sensor I was using.
- Reinstalling the kinect sdk (the version i'm using is : Microsoft Kinect 1.0 Beta2 SDK v.1.0.0.45
- The following link - http://social.msdn.microsoft.com/Forums/en-US/kinectsdk/thread/5b9ffac3-86c0-4147-a6c7-f8e4bbc73c56 - talks about finding the registry key but I couldn't understand how to do it.
- According to this link - http://msdn.microsoft.com/en-us/library/ms919477.aspx this is an error code:
VFW_E_SAMPLE_REJECTED This sample cannot be rendered. 0x8004022B 555
I'm running win7 64 bit.