Here is what I have:
An external DLL, I have written in C. This DLL links to opencv. I don't want to call OpenCV directly from C# - there are already huge amounts of C code accessing OpenCV which will be used in the DLL. There is an exported function: passbitmap(void *mem, size_t s);
A C# project from which I want to call the DLL.
- A System.Drawing.Bitmap object from which I want to pass the pixel/bitmap data somehow to my DLL.
I guess its some kind of P/Invoke, but I have never done it, and don't know how can I do it properly in this case. How should I proceed?