Possible Duplicate:
Possible to call C++ code from C#?
I have C++ class, that have some static method. It is in the dll, that exports class. I need to use static method from C# project. Can I do it without COM?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you have 2 ways:
wrapping the native C++ dll with a C++\CLI one or using PInvoke