在本机 DLL 中失败.结果=0x80080014
本文关键字:结果 0x80080014 失败 本机 DLL | 更新日期: 2023-09-27 18:34:28
InvalidOperationException 未由用户代码处理。
在本机 DLL 中失败。结果=0x80080014。
当我尝试运行该程序时产生了错误。错误代码以粗体显示。
public PoseViewModel()
{
if (!IsInDesignMode)
{
_leftHandImage = DefaultleftHand;
_rightHandImage = DefaultrightHand;
_skeletons = new List<SkeletonData>();
_runtime = new Runtime();
_runtime.SkeletonFrameReady += RuntimeSkeletonFrameReady;
_runtime.VideoFrameReady += RuntimeVideoFrameReady;
**_runtime.Initialize(RuntimeOptions.UseSkeletalTracking | RuntimeOptions.UseColor);**
_runtime.VideoStream.Open(ImageStreamType.Video, 2, ImageResolution.Resolution640x480, ImageType.Color);
Messenger.Default.Register<CommandMessage>(this, ProcessSpeechCommand);
SpeechController.Initialize();
//IsTracking = true;
}
}
您的 Kinect 未连接到您的 PC:http://social.msdn.microsoft.com/Forums/en-CA/kinectsdknuiapi/thread/2e5c176d-4b84-4749-b010-5e1f7fd14bd1