So I\'m fairly new to C++, and I tried to use it to read images using the OpenCV library. My idea was to put the C++ code in a DLL and then get the decoded image by calling