I'm working with an application (windows forms) using Microsoft.Ink namespace to recognize user's handwriting. This functionality had been working fine on Surface PRO 4 tablets, until we updated their Windows 10 version from 1909 to 2004. Now we get the error below at random on tablets when trying to initialize controls using CreateRecognizerContext() method from Microsoft.Ink namespace.
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, List`1 displayReps, SampleInfo sampleInfo)
....
As I said, the error occurs at random and I haven't been able to replicate it debugging the source code. The application targets .NET Framework 4.7.2 and Microsoft.Ink version is 6.1.0.0. I've been researching and there seems to be some problems with drawing applications running on Windows 10 version 2004.
Has anyone experienced this error?
Thanks in advance.
User contributions licensed under CC BY-SA 3.0