如何将类及其属性导出到DLL? [英] How to Export Class and it's properties to dll?

查看:86
本文介绍了如何将类及其属性导出到DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以上帝的名义







玩得开心



i希望创建一个dll文件并使用c ++编写类,现在我想将整个类导出到dll并使用带有visual basic的dll文件。

你能告诉我我该怎么做?



谢谢

解决方案

没有多少神性在编码la。



谷歌很容易为你想做的事情



HowTo:从DLL导出C ++类 [ ^ ]



并导入演练:调用Windows API(Visual Basic) [ ^ ]



或者你可以采用COM方式: C ++中的COM [ ^ ]

如何:从Visual Basic引用COM对象 [ ^ ]

in the name of god


hi
have a good time

i want to create a dll file and have a class in c++, now i want to export the whole of class to dll and use the dll file with the visual basic.
would you tell me how can i do that?

thanks

解决方案

Not much divinity in coding la.

It is pretty easy to Google for what you want to do

HowTo: Export C++ classes from a DLL[^]

And for importing Walkthrough: Calling Windows APIs (Visual Basic)[^]

Or you can go the COM way: COM in C++[^]
How to: Reference COM Objects from Visual Basic[^]


这篇关于如何将类及其属性导出到DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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