你好,我是一个C#开发人员,我的一个dll用于安静的vee程序。
我的库只是C dll的包装器,当我在agilent vee中使用它时,它找不到C dll。
问题似乎是它在C: Windows system32中查找。
我怎样才能告诉agilent vee复制C dll?
或者,我需要执行.vee程序的路径。
然后我可以复制它作为vee程序的一部分。
我既不能手工复制它,也不能通过给它一个绝对的路径告诉安静的vee复制它。
之后,程序必须从任意网络文件夹运行,所以我不知道C dll预先存在的文件夹。
我尝试通过Device> Import Library包含它,但似乎agilent vee对相应的头文件有问题。
由于我还没有写过C库,我也不愿意改编它。
感谢您的帮助。
以上来自于谷歌翻译
以下为原文
Hallo,
I'm a C# developer and one of my dlls is to be used in an agilent vee programs. My library is just a wrapper for a C dll and when I use it within agilent vee, it can't find the C dll. The problem seems to be that it is looking in C:Windowssystem32.
How can I tell agilent vee to copy the C dll as well? Alterna
tively, I would need the path of the executed .vee program. Then I could copy it as part of the vee program. I can neither copy it by hand nor tell agilent vee to copy it by giving it an absolute path. Later, the program has to run from an arbitrary network folder, so I don't know the folder in which the C dll lies beforehand.
I tried to include it via Device > Import Library, but it seems that agilent vee has a problem with the corresponding header file. As I have not written the C library, I would loath to adapt it as well.
Thank you for your help.
0