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

1

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();
c#
.net
microsoft.ink
ink-analyzer
asked on Stack Overflow Apr 12, 2011 by dknaack • edited Jan 13, 2014 by leesei

1 Answer

1

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.

answered on Stack Overflow Jun 29, 2011 by Cocowalla

User contributions licensed under CC BY-SA 3.0