Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calling C dll code from C#? [duplicate]

Tags:

c

c#

Possible Duplicate:
How do I call unmanaged C/C++ code from a C# ASP.NET webpage

is there a way to link the two?

like image 531
Timmy Avatar asked Feb 18 '26 22:02

Timmy


2 Answers

P/Invoke is the approach you want

like image 147
plinth Avatar answered Feb 21 '26 12:02

plinth


Search for PInvoke in C# you will find plenty of resources. Like this one:

http://msdn.microsoft.com/en-us/magazine/cc164123.aspx

like image 22
PeterFromCologne Avatar answered Feb 21 '26 11:02

PeterFromCologne



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!