dll键入库转换。 [英] dll to type library conversion.

查看:104
本文介绍了dll键入库转换。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我已使用regasm.exe将system.web.dll转换为类型库。我已将此引用添加为vb6。但它显示错误为ActiveX组件无法创建对象,运行时错误:429。



i测试了以下代码:



Hi,

I have converted system.web.dll as type library by using regasm.exe. i have added this reference as vb6. But it shows error as "ActiveX component can''t create object, Runtime error:429".

i have tested the following codes:

Function test()

    Dim objtest as object
    set objtest=createobject("System_web")

end function

function test1()
 
    Dim testObj as new System_web

    Set testObj = new System_web

End function





请任何人帮我解决这个问题。



问候

Kavin



Please any one help me to solve this issue.

Regards
Kavin

推荐答案

如果我正确地阅读你的问题,你正试图拿一个。 NET框架DLL文件并将其转换为ActiveX然后从VB6使用它?如果是,那么开始阅读的时间: http://support.microsoft.com/default .aspx?scid = kb; en-us; 817248 [ ^ ] - 除非先将框架DLL调用封装在自己的.NET DLL中,否则我无法保证它能正常工作。
If I am reading your question correctly, you are trying to take a .NET framework DLL file and convert it to a ActiveX and then use it from VB6? If so, then time to start reading: http://support.microsoft.com/default.aspx?scid=kb;en-us;817248[^] - and I can''t guarantee that it will work, unless you encapsulate the framework DLL calls in your own .NET DLL first.


这篇关于dll键入库转换。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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