无法在VB项目中添加dll [英] Can't add a dll in VB project

查看:82
本文介绍了无法在VB项目中添加dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在VB6项目中添加dll。它位于项目文件夹中。

我在表单中做了声明

私有声明函数FindPattern Lib" iEdit_Find.dll" (ByVal lpszPattern As String,ByVal lpszSource As String,ByVal nMatchCase As Long,ByVal nStart As Long,nlen As Long)As Long

但是当我运行我的项目时它会给出以下运行时错误:

运行时错误:53

找不到文件:iEdit_Find.dll

当我尝试通过Project>>引用>>浏览> ;>选择它说的d​​ll:

无法添加对指定文件的引用。

解决方案

你好,


你注册了你的dll吗?


请按照以下方法注册dll,照顾我的fren .. :)

展开 | 选择 | Wr ap | 行号


< blockquote>


你好,


你注册了你的dll吗?


请点击下面注册dll的方法,小心我的fren .. :)

展开 | 选择 | Wrap | 行号


我有类似的其中一个DLL也存在问题。当我尝试注册它错误。我的猜测是实际的DLL有问题。


I am not able to add a dll in my VB6 project. It is located in project folder.
I made a declaration in my form
Private Declare Function FindPattern Lib "iEdit_Find.dll" (ByVal lpszPattern As String, ByVal lpszSource As String, ByVal nMatchCase As Long, ByVal nStart As Long, nlen As Long) As Long
but when I run my project it gives the following runtime error:
Run Time Error :53
File not found : iEdit_Find.dll
When I try to add it by Project>>References>>Browse>>select the dll it says:
Cannot add reference to the specified file.

解决方案

Hi there,

did you register your dll?

kindly follow below method to register dll, take care my fren.. :)

Expand|Select|Wrap|Line Numbers


Hi there,

did you register your dll?

kindly follow below method to register dll, take care my fren.. :)

Expand|Select|Wrap|Line Numbers


i''m having similar issues with one of the DLLs as well. When i try to register it errors out. My guess is there is something wrong with the actual DLL.


这篇关于无法在VB项目中添加dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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