完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,我正在使用C#编写一个通过RS232将我的PC连接到34970A的应用程序,但我收到一条错误,说Visual Studio无法找到参考VisaComLib。我已经通过添加“glbls”正确添加了引用
.dll“和其他东西......但是Visual Studio仍然无法找到VisaComlib库的”包装器组件“...顺便说一下,我正在使用MS Visual 2010 express C#版,以防万一。帮助plz! 以上来自于谷歌翻译 以下为原文 Hi, i'm programming in C# an application to connect my PC to the 34970A via RS232, but i'm getting an error saying that Visual Studio can't find the reference VisaComLib. I've correctly added the reference by adding "glbls.dll" and other stuff.. but Visual Studio still can't find the "wrappers assembly" of the VisaComlib library... btw i'm using MS Visual 2010 express C# edition, just in case. help plz ! |
|
相关推荐
2个回答
|
|
|
你在哪里看到glbls.dll被引用?
我不认为我以前听过它。你可以直接指向VISA COM主互操作组件(PIA)。 它将安装在:“%VXIPNPPATH%VisaCom Primary Interop Assemblies”键入文件资源管理器或命令提示符,以查看它在您的系统上解析的内容...在我的系统上它解析为:C: Program Files IVI Foundation VISA VisaCom Primary Interop Assemblies 以上来自于谷歌翻译 以下为原文 Where are you seeing glbls.dll referenced? I don't think I've ever heard of it before. You can point to the VISA COM Primary Interop Assembly (PIA) directly. It's going to be installed at: "%VXIPNPPATH%VisaComPrimary Interop Assemblies" Type that into File Explorer or your command prompt to see what it resolves to on your system... On my system it resolves to: C:Program FilesIVI FoundationVISAVisaComPrimary Interop Assemblies |
|
|
|
|
|
已解决!我正在查看C: Program files VISA VisaCom,其中安装了一个不同的库。在执行命令后,它在C: VXIPNP VisaComThx找到了正确的库文件!
以上来自于谷歌翻译 以下为原文 Resolved ! i was looking in C:Program filesVISAVisaCom, where is installed a different library. after executing your command it found the correct library files at C:VXIPNPVisaCom Thx ! |
|
|
|
|
只有小组成员才能发言,加入小组>>
1855 浏览 0 评论
2749 浏览 1 评论
2651 浏览 1 评论
2471 浏览 5 评论
3476 浏览 3 评论
1855浏览 0评论
427浏览 0评论
29浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-9 19:25 , Processed in 0.742335 second(s), Total 74, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
8872