This is the problem I am trying to solve.
My C++ console application is interacting with a C++ COM DLL.
Upon certain conditions, the C++ COM DLL needs to send some data back to the console application. I was thinking to pass a callback (std::function) as a parameter of one of the DLL API, but I do not know if COM supports that.
How could I implement such callbacks?
Thank you for your help!