I am writing a Windows CE application in C # that references my own C ++ DLL (which I also encode) using the following method:
[DllImport("CImg_IP_CE.dll")]
public static unsafe extern void doBlur(byte* imgData, int sigma);
This works fine, but I cannot debug the dll. When I check the debug modules that load after starting the EXE, CImg_IP_CE.dll is not one of them. Even after successfully calling functions from the DLL, it still does not appear in the list of modules.
Looking around it seems that the LoadLibrary () function might work, but I cannot find examples of using this in a C # Windows CE application. How can I do this, or is there a better way to make sure the DLL is loading for debugging?
source
share