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 :
VFW_E_SAMPLE_REJECTED This sample cannot be rendered. 0x8004022B 555
I'm running win7 64 bit.
Thanks a lot for your help.
I prefer not to change to kinect for windows to timelines. I was able to solve this issue thanks to this link which worked like a charm. The steps to resolve this issue were: 1.Uninstall all kinect drivers from all the USB ports. 2.Uninstall the kinect sdk. 3.Reinstall the Kinect SDK. 4.Disabled network adapter. 5.Plug in the kinect sensor.
The idea is to reinstall all the drivers and prevent it from obtaining drivers from Windows Update.
I appreciate your help.
Thanks, Oded