问题描述
我正在使用Microsoft.Ink命名空间处理应用程序(Windows窗体)以识别用户的笔迹。该功能在Surface PRO 4平板电脑上一直运行良好,直到我们将其Windows 10版本从1909年更新到2004年为止。现在,当尝试使用Microsoft.Ink命名空间中的CreateRecognizerContext()方法初始化控件时,在平板电脑上随机出现以下错误。
Exception Message:
TabletPC inking error code. There are no handwriting recognizers registered (Exception from HRESULT: 0x80040235)
Target Site: Microsoft.Ink.InkRecognizerContextPrivate CreateRecognizerContext()
Source: Microsoft.Ink
Stack Trace: at Microsoft.Ink.IInkRecognizer.CreateRecognizerContext()
at Microsoft.Ink.Recognizer.CreateRecognizerContext()
at Jackrabbit.RepInk.MyInitializeComponent()
at Jackrabbit.RepInk..ctor(Int32 pRepInkHeight,RepInfo pRepInfo,RepGroupBox pRepGroupBoxParent,ResearchRepInfo pResearchRepInfo)
at Jackrabbit.Controls.APGrain.MyInitializeComponent(List`1 repsForTest,SampleInfo currentSample)
at Jackrabbit.Controls.APGrain..ctor(RepGroupBox repGroupBoxParent,List`1 displayReps,SampleInfo sampleInfo)
at Jackrabbit.RepGroupBox.CreateAPGrainControls(Int32 xCoord,Int32 yCoord,SampleInfo sampleInfo)
....
正如我所说,该错误是随机发生的,并且我无法在调试源代码时对其进行复制。该应用程序面向.NET Framework 4.7.2,Microsoft.Ink版本为6.1.0.0。我一直在研究,在Windows 10 2004版上运行的绘图应用程序似乎存在一些问题。
有人遇到此错误吗?
谢谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)