什么是使用外部DLL的正确方法? [英] Whats the proper way to use an external DLL?

查看:71
本文介绍了什么是使用外部DLL的正确方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被要求尝试让我的访问数据库说。使用外部第三方应用程序,ProjectWise。


这涉及使用带有projectwise,dmactrl.dll附带的dll。


但是它的不是我可以简单地注册为参考和使用,但我可以使用以下语法:

I have been asked to try and get my access database to "speak" with an external third party application, ProjectWise.

This involves using a dll, that comes with projectwise, dmactrl.dll.

However its not one I can simply register as a reference and use, but I can use with the following syntax:

展开 | 选择 | 换行 | 行号

推荐答案

  1. 你的声明是否在标准代码模块中?
  2. 你是怎么做的? b>调用''函数?
  3. 确切地说,在哪里.dll( dmactrl.dll )位于物理位置?
  1. Is your Declaration in a Standard Code Module?
  2. How, exactly, are you ''Calling'' the Function?
  3. Where, exactly, is the .dll (dmactrl.dll) physically located?


我希望您的代码能够正常工作:
I would expect your code to work if either :
  1. dmactrl.dll 位于库的默认文件夹中。
  2. 您提供了 dmactrl.dll的完整路径
  1. dmactrl.dll were in a default folder for libraries.
  2. You give the full path for dmactrl.dll.



让我们知道你如何继续使用Smiley。


Let us know how you get on with that Smiley.


这可能是一个好主意请查看 ProjectWise ,了解有关如何安装软件的一些文档或建议(取决于可用的内容)。有时候这些库只会被发现可用,但是正确的程序是运行安装包。这样的软件包可以确保文件放在可用的文件夹中。
It may be a good idea to check with ProjectWise either for some documentation or advice (depending on what''s available) on how the software should be installed. Sometimes such libraries will work by just being found available, but nevertheless the correct procedure is to run an installation package. Such a package aught to ensure the file is placed in a workable folder.


这篇关于什么是使用外部DLL的正确方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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