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
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.
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
)