从C#到C ++的CallBack函数 [英] CallBack function from c# to c++

查看:153
本文介绍了从C#到C ++的CallBack函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个C#exe,我有vc ++ dll.
如何在C#中创建callBackFunction.
请举一个例子

I have a C# exe and i have vc++ dll .
how to create callBackFunction in C# .
please give me with an example

推荐答案

Google是您的朋友:很好,经常拜访他.与在这里发布问题相比,他可以更快地回答问题.

快速的Google 使用您的主题作为搜索词 使其成为热门搜索:
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

A quick google using your subject as the search term gave this as the top hit: Using C calling convention callback functions in C# and VB - the easy way[^]


看看这篇文章
在C#和VB中使用C调用约定回调函数-简单的方法 [
Have a look at this article
Using C calling convention callback functions in C# and VB - the easy way[^]


这篇关于从C#到C ++的CallBack函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆