When run CmFile::GetName(CStr& path), The path just doesn't exist in my hard drive and the debugging process may be just failed without accurate description. First-chance exception at 0x00007FF827D4606C in Objectness.exe: Microsoft C++ exception: cv::Exception at memory location 0x00000054D845E930. Unhandled exception at 0x00007FF827D4606C in Objectness.exe: Microsoft C++ exception: cv::Exception at memory location 0x00000054D845E930.