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();
leesei
  • 6,020
  • 2
  • 29
  • 51
dknaack
  • 60,192
  • 27
  • 155
  • 202

1 Answers1

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.

Cocowalla
  • 13,822
  • 6
  • 66
  • 112