i am working with windows C# wpf desktop app ,i have vc++ sdk project and i want to call sdk features from C# app but i don't know how to call vc++ functions from c# please help me. thank you.
Asked
Active
Viewed 104 times
-1
-
Possible duplicate? : https://stackoverflow.com/questions/935664/possible-to-call-c-code-from-c – Gary.Taylor717 Oct 07 '17 at 14:24
-
2Possible duplicate of [Possible to call C++ code from C#?](https://stackoverflow.com/questions/935664/possible-to-call-c-code-from-c) – Thomas Fritsch Oct 07 '17 at 15:48
1 Answers
0
What you need is a C++/CLI wrapper. Basically, you can call into this wrapper from c# as you would call other managed code. From within the wrapper, you can call native code as from other native code.

Thomas Woelfer
- 533
- 5
- 21
-
Yes,i want exactly same thing.but i having SDK which runs only on release mode and that SDK having lots of file and i don't not c++ more.so i am little bit confuse how to do. – Oct 12 '17 at 14:20