在C#下调用别人,C++写的DLL, 看到有个委托类型delegate
转到定义显示:
public delegate void IAEventNotification2_VCEventEventHandler(A_EVENT_TYPE iType, object vData);
问,在C++下 怎么写,才能看到上面的这个委托? 谢谢
------解决方案--------------------------------------------------------
回调函数
另外要看c++的dll是什么类型
------解决方案--------------------------------------------------------
用回调函数,要注意DLL的调用规则