调用从vc6写入vb6的dll函数 [英] call a dll function that write in vb6 from vc6

查看:195
本文介绍了调用从vc6写入vb6的dll函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,亲爱的

我想从vc6中调用我在vb6中编写的函数

例如我的功能是:

公共子Hello_Example()
msgbox你好"
结束子


在vc6中,我将此函数称为

非常感谢您

hello dears

i want call a function that i write in vb6 from vc6

for example my function is:

public sub Hello_Example()
msgbox "hello"
end sub


and in vc6 i call this function

thank you very much

推荐答案

您可以使用VB6生成COM DLL或COM EXE.然后,您可以使用标准的COM API [
You can use VB6 to produce a COM DLL or COM EXE. You can then use the standard COM API[link] to create and manipulate your classes.

As SAKryukov said though, it might just be easier to move away from VB6


这篇关于调用从vc6写入vb6的dll函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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