C# calls C++ function through CLI
$10-30 USD
Dibayar saat pengiriman
Dear all,
I need a example for the following.
C# calling the functions written in C++.
Please provide me an example made in VS2010. C# have to a "ASP.NET web application". The C# will call a function that is written in C++ and pass some parameters. C++ CLI method is required because P/Invoke method is not stable enough. The C++ function can reside any where as you wish. As a separate DLL, or as a separate library, etc.
The example parameters to send from C# to C++ is, an array and a struct. C++ function will modify the array & struct and return it back to C#.
Kindly dont hesitate to ask for more clarification.
Example code: [url removed, login to view]
ID Proyek: #5088076
Tentang proyek
Diberikan kepada:
Hello. I'm skilled with C++/CLI and I would be able to complete your project in short time. .....
8 freelancer rata-rata menawar $25 untuk pekerjaan ini
Hi I have done it before and have the code. I made a word addin in C# which called C++ function from a dll. If you want I can send you the code and if required describe it to you. Best Regards
Hi, basically you should create a managed wrapper for your native library. After that you may use it like any other regular assembly. Regards, Artur
hi, I can help you ------------------------------------------------------------------------------------------------------------------------
Hi... Would like to give an idea, use a socket to transfer data, one if my friend use that method to communicate between c# and c++
I've tried something similar a long time ago, I can do this again. Though it's not gonna be pretty and If I were you - I would refrain from this approach at all.
Hi. I have done such example for myself some weeks ago and know I can do the same for you. Any way I'm serious C#.NET professional able to implement C# job you need. Thank you!