开发者

Microsoft Ink InkAnalyzer "... is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)"

开发者 https://www.devze.com 2023-02-25 13:37 出处:网络
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 ?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消