May 21, 2003 #1 karthi01 Programmer Joined May 21, 2003 Messages 1 Location US How should I call a function written in C/C++ in C#? How will I compile and link the C# program?
May 22, 2003 1 #2 chiph Programmer Joined Jun 9, 1999 Messages 9,878 Location US You would write your C/C++ function as a Win32 style DLL, and then call it via .NET's DllImport method/code attribute. Chip H. Upvote 0 Downvote
You would write your C/C++ function as a Win32 style DLL, and then call it via .NET's DllImport method/code attribute. Chip H.