Em Andamento

C# calls C++ function through CLI

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]

Habilidades: Programação C#, Programação C++

Ver mais: call function, struct c programming, programming blogs, c sharp library, c programming struct, cplusplus struct, cplusplus array, array in c sharp programming, array in c programming, c c++ c# c# c sharp, the c, provide calls, CLI , c++ p, c p, c or c, vs2010, cli web, modify dll, vs2010 web, need modify dll, modify dll return, archive asp, cli programming, android function calls

Acerca do Empregador:
( 108 comentários ) United States, Korea, Republic of

ID do Projeto: #5088076

Premiar a:

vano101

Hello. I'm skilled with C++/CLI and I would be able to complete your project in short time. .....

$23 USD em 1 dia
(282 Avaliações)
6.2

8 freelancers estão ofertando em média $25 para este trabalho

LogixSmith

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

$35 USD em 1 dia
(12 Comentários)
5.5
artursharipov

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

$30 USD em 1 dia
(11 Comentários)
4.6
alexeyshentyakov

hi, I can help you ------------------------------------------------------------------------------------------------------------------------

$25 USD em 1 dia
(3 Comentários)
2.1
techozone

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++

$25 USD in 3 dias
(2 Comentários)
2.7
moveax0x100

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.

$15 USD em 1 dia
(0 Comentários)
0.0
nganpho

hi! i have some experience in this problem. i can have you. By the way: this is my old article about this in codeproject: [url removed, login to view] Thanks

$20 USD em 1 dia
(0 Comentários)
0.0
invegood

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!

$25 USD em 1 dia
(0 Comentários)
0.0