Application Error

May 13, 2011 at 4:03am
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
May 13, 2011 at 5:13am
Post your code.
May 13, 2011 at 5:32am



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).
May 13, 2011 at 6:15am


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

I would appreciate your help. Thanks.

May 13, 2011 at 7:43am
NO ideas!!!
May 13, 2011 at 8:38am
Maybe the dll 'highgui110d.dll' (debug version of the lib) is missing?
May 13, 2011 at 6:28pm
But i puted the additional dependencies for debuging

cvd.lib
highguid.lib
mld.lib
cxcored.lib
May 16, 2011 at 7:35am
Not the *.lib's are missing the *.dll's are missing. Put the dll where the *.exe is
Topic archived. No new replies allowed.