I have a native c++ dll which contains some templates classes. And I need this dll in my c# code. So I am using managed c++ for the c++ dll in order to use it in the c# code, but I have a big problem on how using the template classes in .Net. Please if you guys have some solutions to this, it will very helpful. Thanks!
Asked
Active
Viewed 197 times
1 Answers
1
read C++ instantiate template class from DLL to make sure you're not falling down a common rabbit hole.
Read about IntPtr and Interoperability
Try putting it all together, and then post a new question which has a specific problem.