Comunicación entre C++ y C# en el mismo proyecto Metro
Frecuentes
Visto 241 veces
1
In my metro application, I have two components one in C++ and another in C#. Can I communicate in between them to and fro? Any code samples or references on how to do this will be very helpful.
Gracias de antemano.
1 Respuestas
1
What you need is some C++/CX code. You can either write C++/CX directly instead of standard C++, or you can create wrappers around your standard C++. Once you do this, your C# code can make calls to the C++ just as if was another C# component.
Specifically, what you're doing is turing your C++ component into a windows runtime component. Aquí un ejemplo of C++ and Javascript, but consuming in C# is similar.
Respondido el 01 de Septiembre de 12 a las 04:09
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas microsoft-metro or haz tu propia pregunta.