Hi, I am a windows and c++ developer, but new to C#. I recently got a task to maintain a project that written using c++ and c#. Some modules are in c++ and some modules are in C#. The C++ module calls functions in C# module. At first, i can't step into the code in the C# module, I can now step into it after I changed the debugger type to be mixed. But I don't understand how it works. I am wondering how does the c# module expose itself to the C++ module, I didn't find any header file in the C++ modudle. All I see in the C++ module is a reference to the C# module. MyTalk is a namespace in the C# module and IProvide is a interface inside the namespace. The C# module is built as a DLL and sitting in the same location as the c++ module calling it.
gcroot< MyTalk::IProvider^ > m_Provider; Another example is SystrayUI::Systray::Callback(); I only see reference. How does this reference get resolved? Can someone explain and maybe also point me an article or book to read in order to understand this ?Thanks.
