In my project, I got a device that comes with C ++ code examples. The codes are OK and the device is working properly.
But I need him to talk to my C # interface, because currently all other devices use the C # interface.
So, I plan to create a Wrapper DLL for the driver. I will create my own C ++ library (from the source code with the appropriate interface) and call this C ++ library from C # using DLLImport (just call my interfaces there.).
I am sure that this can be done like this, but I have never created a C ++ library and have not used it with C #. So, can anyone refer to some textbook on my problem?
I am using C ++ / C # int VS.NET 2008.
Regards, Maksoud
source
share