Possible Duplicate:
How do I call unmanaged C/C++ code from a C# ASP.NET webpage
I have a dll file that is written in "C" language, i want to use it in C#. How can i do that?
Possible Duplicate:
How do I call unmanaged C/C++ code from a C# ASP.NET webpage
I have a dll file that is written in "C" language, i want to use it in C#. How can i do that?
You can do a DllImport in your C# code and then use PInvoke.
For your custom dll you can try this example answer on SO.
This a good website for reference for using windows dlls
You can use PInvoke
Here is a great tutorial by the NAG (Numerical Algorithms Group) group