Create a DLL project in C++ that contains your method(s).
Use DLLImport to call your methods from your C# code.
Example here:
http://www.codeguru.com/csharp/cshar...cle.php/c4217/
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: Using C++ code in a C# project.Threaded View
|
Click Here to Expand Forum to Full Width |