Now I know that there are many questions regarding this, but in general they relate to C ++ libraries.
I have a pretty important C dll (about 2800 functions), and I need to make an API for about 70 of them called in C #. I started using P / Invoke, but this is pretty tedious because I have complex structures for passing and returning from C code (structures with pointers to others, double pointers, etc.), and it makes me a lot of time to get what i need.
Now I donβt know C ++ / CLI at all, but I have a little experience with C ++ (not so much).
I wonder if it's worth the effort to find out for my project. Will using a C ++ shell allow me not to struggle with sorting structures, allocating pointers in the global heap, etc. Or not?....
Thank you very much and great ups to this wonderful community.
source share