在导入Lib文件时出错
DModuleUNIT是LIB_BASE中的单元,
当 TDModule *DModule = new TDModule(Application);时报错:
[ILINK32 Error] Error: Unresolved external 'Dbtables::TTable::' referenced from D:\MYPROJECTS\MYSOURCE\QUICKZQINFO\LIB\LIB_BASE.LIB|DModuleUnit
[ILINK32 Error] Error: Unresolved external 'Dbtables::TDatabase::' referenced from D:\MYPROJECTS\MYSOURCE\QUICKZQINFO\LIB\LIB_BASE.LIB|DModuleUnit
[ILINK32 Error] Error: Unresolved external 'Dbtables::TQuery::' referenced from D:\MYPROJECTS\MYSOURCE\QUICKZQINFO\LIB\LIB_BASE.LIB|DModuleUnit
[ILINK32 Error] Error: Unable to perform link
这是什么原因啊
[解决办法]
DModuleUNIT添加到工程
再看看是不是少头文件了
#include <DB.hpp>
#include <DBTables.hpp>