I am trying just a basic program with OpenCV with the following code:
#include \"cv.h\"
#include \"highgui.h\"
int main()
{
IplImage* newImg;
newImg
I have had numerous problems with opencv and only succeded after a gruesome 4-6 months. This is the last problem I have had, but all of the above didn't work. What worked for me was just copying and pasting the opencv_core2*.dll (and opencv_highgui2*.dll which it will ask for since you included this as well) into the release (or debug folder - I'm assuming. Haven't tested this) folder of your project, where your application file is.
Hope this helps!