Callback from C++ to C# using SWIG
问题 I have an application running in C#.Netcore and C++ windows application. I achieved interoperability between C# & C++ using SWIG. But I am not able to achieve Callback functionality from C++ to C#. Also I tried by passing function pointer from C# to C++. But it also failed My Intention is to achieve callback by By passing a C# function pointer to C++ and call that function pointer when needed so that C# function will be executed. Creating a base class with virtual function in C++ and derive a