unresolved in unit1.obj是个什么错误,怎么解决?

faiqi 2003-10-18 07:29:20
现在要调用一个卡的驱动程序里面的一个函数,
installdrive,我把其头文件已经加了<drive1.h>,并把drive.h放入了相应目录下,
还有两个dll文件,一个lib文件不知道应该如何处理?
链接时出现如下错误:
unresolve external "installdrive" reference from "...\unit1.obj",请问应该
如何处理,谢谢!
...全文
46 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
faiqi 2003-10-19
  • 打赏
  • 举报
回复
大家帮帮忙呀,我很急呀,谢谢了!
qiu_allan 2003-10-19
  • 打赏
  • 举报
回复
这个.lib文件你加入工程中了吗?
Project->Add to project...
文件类型选Library file(.lib),找到你的文件。
再重新编译试试。
faiqi 2003-10-18
  • 打赏
  • 举报
回复
我把.lib文件已经放在lib目录下了,dll放在bin目录下了呀!一样的呀,你能说具体点吗?我现在已经糊涂了!
freshman2003 2003-10-18
  • 打赏
  • 举报
回复
project->option->directory 把dll、lib所在目录加进来。
faiqi 2003-10-18
  • 打赏
  • 举报
回复
我估计是应该对dll文件做些什么吧,是不是要在project里面的option,或是tool下面的那个环境设置里面做些设置?我没有做过,请指教呀!谢谢,急!
faiqi 2003-10-18
  • 打赏
  • 举报
回复
一样的错误!请问,那两个dll文件,那个lib文件要怎么处理吗?不需要吗?我只把.h文件放在相应的include目录下了!
huangjuliang 2003-10-18
  • 打赏
  • 举报
回复
把obj文件删掉,重新Build一下,看看!
笔记本的风扇控制 ---------------------------------------- 09 November 2006. Summary of changes for version 20061109: 1) ACPI CA Core Subsystem: Optimized the Load ASL operator in the case where the source operand is an operation region. Simply map the operation region memory, instead of performing a bytewise read. (Region must be of type SystemMemory, see below.) Fixed the Load ASL operator for the case where the source operand is a region field. A buffer object is also allowed as the source operand. BZ 480 Fixed a problem where the Load ASL operator allowed the source operand to be an operation region of any type. It is now restricted to regions of type SystemMemory, as per the ACPI specification. BZ 481 Additional cleanup and optimizations for the new Table Manager code. AcpiEnable will now fail if all of the required ACPI tables are not loaded (FADT, FACS, DSDT). BZ 477 Added #pragma pack(8/4) to acobject.h to ensure that the structures in this header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been manually optimized to be aligned and will not work if it is byte-packed. Example Code and Data Size: These are the sizes for the OS- independent acpica.lib produced by the Microsoft Visual C++ 6.0 32- bit compiler. The debug version of the code includes the debug output trace mechanism and has a much larger code and data size. Previous Release: Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total Debug Version: 155.4K Code, 63.1K Data, 218.5K Total Current Release: Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total Debug Version: 155.2K Code, 63.1K Data, 218.3K Total 2) iASL Compiler/Disassembler and Tools: Fixed a problem where the presence of the _OSI predefined control method within complex expressions could cause an internal compiler error. AcpiExec: Implemented full region support for multiple address spaces. SpaceId is now part of the REGION object. BZ 429 ---------------------------------------- 11 Oc

13,822

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder相关内容讨论区
社区管理员
  • 基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧