I am trying to use EmguCV to create a website in Visual Studio. Getting the error The type initializer for 'Emgu.CV.CvInvoke' threw an exception with internal exception An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B). An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B).
The following are the details of my installation:
Windows 8 64-bit
VS2012
Emgu 2.3 Library for Windows x64
Most of the help I saw on the forums was for the project, but if that matters, it is a website.
I have already copied all the DLLs to the Website\bin . Therefore, I doubt that this is a problem. I put these DLLs in the System32 and SysWOW64 . Does not work.
source share