I come from a .net background and I am fairly new to developing in C++. I am well used to events in C# and raising events when something meaningful happens. What I'm not sure about it how to raise "an event" in C++ just when an event raised in C#.
I know how to create Managed COM from c# code and use in c++ code. Now I'm using a thread in c++ and check a variable that changes when c# trigger raised. but this solution is so bad...
How to make event x(C#) and event y(C++ MFC) peer to peer so that when event x raised, event y raising too?