C++ Callback to send text back to C#

前端 未结 4 1872
有刺的猬
有刺的猬 2021-01-03 09:14

I\'m new to C++. I have been told using a \"callback\" with C++ is the best solution for this. Here is my situation.

I have a DLL written in C++
this DLL has

4条回答
  •  一向
    一向 (楼主)
    2021-01-03 10:05

    It's tricky but here's the code -- took me a while to figure out -- upvotes appreciated. Can you call a C# DLL from a C DLL?

    This example is unmanaged c++ to C#.

提交回复
热议问题