如何在vc ++中调用vb.net属性方法 [英] How to call vb.net property method in vc++

查看:91
本文介绍了如何在vc ++中调用vb.net属性方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一个vb.net dll,我想在vc ++中调用该dll中的方法。我已经用vc ++代码导入了这个dll。


这个vb.net dll包含一个名为config的类,我有公共属性方法。我想在vc ++中调用那些公共属性方法。


我是VC ++的新手。你能告诉我怎么能我在vc ++中调用这些方法。


如果需要,我将在此处发布我的配置代码


提前致谢。

解决方案

您好,


看看这个:
https://social.msdn.microsoft.com/Forums / en-US / 3f30b414-2ea3-4a54-b4cb-24e48fdfda3e / calling-vbnet-dll-from-c?forum = vbgeneral


此致,Guido


<编辑:或者也看这里:


http://forum.codecall.net/topic/39352-managed-c-calling-vb-net-dll-function/


http://www.cplusplus.com/forum/general/12493/



i have written a vb.net dll and i want call the method from that dll in vc++.I have imported that dll in vc++ code.

this vb.net dll contain a class named as config in that class i have public property methods.I want call those public property methods in vc++.

I am new to VC++.Can you please suggest me how can i call those methods in vc++.

If needed i will post my config code here

Thanks in advance.

解决方案

Hello,

have a look at this: https://social.msdn.microsoft.com/Forums/en-US/3f30b414-2ea3-4a54-b4cb-24e48fdfda3e/calling-vbnet-dll-from-c?forum=vbgeneral

Regards, Guido

Edit: Or look here too:

http://forum.codecall.net/topic/39352-managed-c-calling-vb-net-dll-function/

http://www.cplusplus.com/forum/general/12493/


这篇关于如何在vc ++中调用vb.net属性方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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