从我xp的电脑copy代码到新的win7后,build时就报这样的错误,请高手们帮忙给看看~~
Linking...
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
Global.obj : error LNK2001: unresolved external symbol "public: long __thiscall Recordset15::Open(class _variant_t const &,class _variant_t const &,enum CursorTypeEnum,enum LockTypeEnum,long)" (?Open@Recordset15@@QAEJABV_variant_t@@0W4CursorTypeEnum
@@W4LockTypeEnum@@J@Z)
Param2Cfg.obj : error LNK2001: unresolved external symbol "public: long __thiscall Recordset15::Open(class _variant_t const &,class _variant_t const &,enum CursorTypeEnum,enum LockTypeEnum,long)" (?Open@Recordset15@@QAEJABV_variant_t@@0W4CursorTypeE
num@@W4LockTypeEnum@@J@Z)
Param2Cfg.obj : error LNK2001: unresolved external symbol "public: class _com_ptr_t<class _com_IIID<struct Fields,&struct __s_GUID _GUID_00001564_0000_0010_8000_00aa006d2ea4> > __thiscall Recordset15::GetFields(void)" (?GetFields@Recordset15@@QAE?AV
?$_com_ptr_t@V?$_com_IIID@UFields@@$1?_GUID_00001564_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@A@@@@XZ)
..\run\SIDSConfiger.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.SIDSConfiger.exe - 4 error(s), 1 warning(s)
Linking...
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
Global.obj : error LNK2001: unresolved external symbol "public: long __thiscall Recordset15::Open(class _variant_t const &,class _variant_t const &,enum CursorTypeEnum,enum LockTypeEnum,long)" (?Open@Recordset15@@QAEJABV_variant_t@@0W4CursorTypeEnum
@@W4LockTypeEnum@@J@Z)
Param2Cfg.obj : error LNK2001: unresolved external symbol "public: long __thiscall Recordset15::Open(class _variant_t const &,class _variant_t const &,enum CursorTypeEnum,enum LockTypeEnum,long)" (?Open@Recordset15@@QAEJABV_variant_t@@0W4CursorTypeE
num@@W4LockTypeEnum@@J@Z)
Param2Cfg.obj : error LNK2001: unresolved external symbol "public: class _com_ptr_t<class _com_IIID<struct Fields,&struct __s_GUID _GUID_00001564_0000_0010_8000_00aa006d2ea4> > __thiscall Recordset15::GetFields(void)" (?GetFields@Recordset15@@QAE?AV
?$_com_ptr_t@V?$_com_IIID@UFields@@$1?_GUID_00001564_0000_0010_8000_00aa006d2ea4@@3U__s_GUID@@A@@@@XZ)
..\run\SIDSConfiger.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.SIDSConfiger.exe - 4 error(s), 1 warning(s)
这个路径不对,改成你win7系统下的msadoxx.dll所在的路径
改成你的路径