roy.d
roy.d

Reputation: 1129

emgucv on windows 7 64bit

when im running emgu on visual studio development server i get this error:

An attempt was made to load a program with an incorrect format. (Exception from HRESULT:0x8007000B)

but when i running debug on local iis web server it works fine. it happen on the first code line of emgu that im using:

Image<Bgr, Byte> image = new Image<Bgr, byte>(imagePath);

this line bind the file in the emgu dll

i allready try to compile emgu on 86 and 64 target and moved those dlls to my project but it didnt make any diffrente still i couldnt run my project on the development server

Upvotes: 0

Views: 1046

Answers (1)

Amiram Korach
Amiram Korach

Reputation: 13296

Try to compile to x86 and enable 32 bit in the server iis: App pool -> advanced settings -> enable 32-bit applications

Upvotes: 1

Related Questions