Communication between C ++ and C # in a metro application

I am creating a metro application where I need to call a C # lib call from C ++. Just calling C # code was tricky. The problem is how am I supposed to communicate from C # to C ++. How do I do this in winRT? Is it possible? Because all the examples I've found have only one-way communication.


source to share

1 answer

Okay, actually it was really easy. I could implement the C # interface in my C ++ code, which I could use as a callback from the C # lib.



All Articles