Bundled C++ Code that uses opencv into a .dll - issues

it does NOT return a pointer in the 1st place. (but an empty Mat on failure)

can you please show, what you are doing here ?