I have a C code and I want to use this in C#.
Is there a possibillity except rewriting this code?
I have a C code and I want to use this in C#.
Is there a possibillity except rewriting this code?
Build the C code as a DLL, and then use "P/Invoke" to call it. You'll need to learn a bit about interop, which is an area I don't know very much about, I'm afraid – but here are a few links: