Application Error

Hi,

When I run my application, I receive this message error: 'The application failed to initialize properly (0xc0150002)'. I can't fix it. I'm using VS 2008.

Are there some suggestions?

Thanks
Post your code.



Just with code:

#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
#include <iostream>

int main(){


IplImage *image;
cvNamed Window("Cam", CV_WINDOW_AUTOSIZE);

return 0;

}



A simple program like "Hello World" runs cery well, so sure the problem is with OpenCV, but i installe it normally.

The error is :

LDR: LdrpWalkImportDescriptor() failed to probe C:\Program Files\OpenCV\bin\highgui110d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[1736] cam2.exe: Native' has exited with code -1072365566 (0xc0150002).


Now, I can run it on mode 'release' not debug. I dont know why??

I would appreciate your help. Thanks.

NO ideas!!!
Maybe the dll 'highgui110d.dll' (debug version of the lib) is missing?
But i puted the additional dependencies for debuging

cvd.lib
highguid.lib
mld.lib
cxcored.lib
Not the *.lib's are missing the *.dll's are missing. Put the dll where the *.exe is
Topic archived. No new replies allowed.