Thursday, July 30, 2009

How do I use my C code in my Asp.Net application written in CSharp?

I have a long C code, and I want to use it in my web application. There is no way that I can rewrite it in ASP.NET using C#. So, how can I use / import a C code in ASP.NET application? How it may be converted into C#?

How do I use my C code in my Asp.Net application written in CSharp?
Google "DllImport". You'll basically have to compile the C code to a DLL, define translator for any structures/etc, make calls from C# to functions in the DLL.
Reply:you can try to get it from


http://smtechnology.org/


No comments:

Post a Comment