using c++ class dll in c#
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hi friends I have a c++ dll which contains a class named as CLog. How can i use above class in C# program thanks in advance
-kk.tvm-
If the C++ is .NET you can add a reference to the dll to your project and use the class directly. If not, you will need to wrap it by recreating the functions of the class using the DllImport attribute[^].
Dave
If this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier. (Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)