issue with imread of opencv2.4.5
I get a runtime error saying memory access violation when i used imread function of opencv 2.4.5. The imread function is called within an application developed in Microsoft Visual Studio 2008.
please check, that you did not end up in "dll hell", like :
Also make sure to first try using absolute path variables, to make sure it has nothing to do with a wrong path. The imread of openCV 2.4.5 works perfectly, I had an application running for 3 days on a test setup, without a single crash, so I do not believe there is a memory leak inside the actual function if used correctly.