What does HRESULT 0x80070057 mean, and why is my program crashing?

前端 未结 2 884
生来不讨喜
生来不讨喜 2021-01-24 01:14

I\'ve written a program that takes two images, then runs an algorithm on them to isolate a hand in the \"foreground\" and match the gesture to a known one.

A few days ag

相关标签:
2条回答
  • 2021-01-24 01:30

    You may be using an assembly that couldn't be loaded correctly. For checking which one may fail I would recommend you this utility: http://www.dependencywalker.com/

    It scans your app for dependencies and highlight the ones that were not found. In my case was a C++ assembly that was missing.

    0 讨论(0)
  • 2021-01-24 01:31

    From what I know the error code means, that an assembly couldn't be loaded. It is corrupt or not avaliable.

    Clear the \bin folder of your project and the AppData (Temp) folder (located at C:\Users\your_username\AppData\Local\Temp\Temporary ASP.NET) and see if the error still happens.

    Source MSDN

    E_INVALIDARG: One or more arguments are not valid (0x80070057)

    0 讨论(0)
提交回复
热议问题