在应用程序中处理dll文件 [英] working of dll files in a application

查看:83
本文介绍了在应用程序中处理dll文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个dll文件i visual c ++ 2008,我想在一个用ms visual besic v6编写的应用程序中使用该文件。我试图从可视代码调用该函数,但当我使用" 调用
函数名(参数)
"我收到的错误是" AccessViolationException未处理 "。


我还使用" Declear Sub< Functionname>来清除应用程序中的函数。 lib< dll path>(Byval< all-parameters> as< datatypes>) "。



我在c ++ dll中使用了defination文件 (。def) ,其中i按名称导出所有函数。 / p>


请有人帮我解决这个问题。

解决方案

Hello Sumlal,这个论坛适用于当前的VB。 


您的版本是古董,试图找到一个论坛,有些人想要保持古董的生命。



i have create a dll file i visual c++ 2008 and i want to use that file in a application that written in ms visual besic v6. i am trying to call the function from the visual code but when i call the function using "call functionname(parameters)" i am getting en error that is "AccessViolationException was unhandled".

i also have declear the function in the application using "Declear Sub <Functionname> lib <dll path>( Byval <all-parameters> as <datatypes>)".

i have used the defination file (.def) in c++ dll where i exports all the function by their name.

please some one help me out regarding this.

解决方案

Hello Sumlal, this forum is for current VB. 

Your version is antique, try to find a forum for that, there are persons who want to keep antique things alive.


这篇关于在应用程序中处理dll文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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