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]
8 freelancers are bidding on average $25 for this job
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
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!