First Time, I just write cv::Mat xxxx…
Memory leaks happen… So I use Delay load about opencv420d.dll
then Memory leaks gone.
But when I use Opencv function like imread
problem like upper image happen.
Can you help me solve this problem?
so it’s trying LoadLibraryEx (WinAPI call) and it can’t find the dll.
figure out where the dll file is.
figure out if that directory can be found by LoadLibraryEx. that usually requires the DLL to be in the working directory of the process or the same directory as the executable you run, or the directory containing the DLL is listed in the PATH environment variable.