Microsoft Ink InkAnalyzer "... is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)"
i am getting a "... is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)"
Exception with the following code, any suggestions how to fix it ?
InkAnalyzer analyzer = new InkAnalyzer(this.overlay.Ink, this);
analyzer.AddStrokes(this.overlay.Ink.Strokes);
// Exception
AnalysisStatus status = analyzer开发者_如何转开发.Analyze();
I just ran into exactly the same problem. Apparently the Ink Analysis API only work with x86 assemblies, and I'm running an x64 machine. I was targeting 'Any CPU', but had to target 'x86' to get it working.
More info here.
精彩评论