找不到dll参考. [英] dll reference not found.
本文介绍了找不到dll参考.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在调试VB类以在AutoCad中工作时遇到问题. (上一个问题).此类引用Autocad dll.
因此,我想我将通过编写另一个代码为
的应用程序来对该类进行部分测试.
将Dim设置为新的cadclass
并逐步完成.
当我尝试逐步执行时,出现错误消息,提示找不到Autocad dll!
I''m having problems debugging a VB class to work inside AutoCad. (Previous question). This class references an Autocad dll.
So I thought I would part test this class by writing another application with code that says
Dim a as new cadclass
and step through.
When I try to step through, I get an error to say that the Autocad dll cannot be found!
推荐答案
Autocad DLL可能不是.NET库.如果不是,那么您将无法直接实例化它的类-您必须改用Interop.
The Autocad DLL may not be a .NET library. If it isn''t then you cannot directly instantiate it''s classes - you have to use Interop instead.
我的类被设计为对AutoCad进行处理". > 我走这条路来调试班级的一部分,因为我无法连接AutoCad.我现在已经成功完成了,因此不再需要.
My class is designed to be "inprocess" to AutoCad.
I went this route to debug part of my class because I could not attach AutoCad. I have now succeeded in this, so this is no longer necessary.
这篇关于找不到dll参考.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文