在网上下了两个VC++用LibUIDK做界面的程序。都有一个共同的毛病,就是发布版时使用的是LibUIDK60.lib,但我在VC6.0目录下找了,只有LibUIDK60d.lib,这个是Debug版用的。后来我就上网下了个LibUIDK+3.0.B01097FR.rar(更高版本的LibUIDK中根本没有LibUIDK60.lib,只有80的- -b),安装后得到里面的LibUIDK60.lib,放到VC装Lib的目录下。用发布版一编译,就出现下面的错误,不知道应该怎么办了……想哭……
(注:我用的是VC6.0,那两个程序下载地址:
http://www.iuishop.com/chs/download.htm)--------------------Configuration: DVDPlayer - Win32 Release--------------------
Linking...
DVDPlayer.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall LibUIDK::CUIWnd::GetLastCreateError(void)" (?GetLastCreateError@CUIWnd@LibUIDK@@QAEKXZ)
DVDPlayer.obj : error LNK2001: unresolved external symbol "public: int __thiscall LibUIDK::CUIWnd::LoadFrame(unsigned int,unsigned long,class CWnd *,int,int)" (?LoadFrame@CUIWnd@LibUIDK@@QAEHIKPAVCWnd@@HH@Z)
DVDPlayer.obj : error LNK2001: unresolved external symbol "public: static int __cdecl LibUIDK::CUIMgr::SetUIPath(char const *,int)" (?SetUIPath@CUIMgr@LibUIDK@@SAHPBDH@Z)
EqulizerWnd.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall LibUIDK::CUIWnd::InitGdiObject(struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,int *)" (?InitGdiO
bject@CUIWnd@LibUIDK@@MAEHPAPAUHBITMAP__@@0000PAH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall LibUIDK::CUIWnd::InitGdiObject(struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,int *)" (?InitGdiObjec
t@CUIWnd@LibUIDK@@MAEHPAPAUHBITMAP__@@0000PAH@Z)
PlayerWnd.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall LibUIDK::CUIWnd::InitGdiObject(struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,int *)" (?InitGdiObj
ect@CUIWnd@LibUIDK@@MAEHPAPAUHBITMAP__@@0000PAH@Z)
PlayListWnd.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall LibUIDK::CUIWnd::InitGdiObject(struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,struct HBITMAP__ * *,int *)" (?InitGdiO
bject@CUIWnd@LibUIDK@@MAEHPAPAUHBITMAP__@@0000PAH@Z)
EqulizerWnd.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall LibUIDK::CUIWnd::OnDraw(class CDC *)" (?OnDraw@CUIWnd@LibUIDK@@MAEXPAVCDC@@@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall LibUIDK::CUIWnd::OnDraw(class CDC *)" (?OnDraw@CUIWnd@LibUIDK@@MAEXPAVCDC@@@Z)
PlayerWnd.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall LibUIDK::CUIWnd::OnDraw(class CDC *)" (?OnDraw@CUIWnd@LibUIDK@@MAEXPAVCDC@@@Z)
PlayListWnd.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall LibUIDK::CUIWnd::OnDraw(class CDC *)" (?OnDraw@CUIWnd@LibUIDK@@MAEXPAVCDC@@@Z)
EqulizerWnd.obj : error LNK2001: unresolved external symbol "protected: virtual long __thiscall LibUIDK::CUIWnd::WindowProc(unsigned int,unsigned int,long)" (?WindowProc@CUIWnd@LibUIDK@@MAEJIIJ@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "protected: virtual long __thiscall LibUIDK::CUIWnd::WindowProc(unsigned int,unsigned int,long)" (?WindowProc@CUIWnd@LibUIDK@@MAEJIIJ@Z)
PlayerWnd.obj : error LNK2001: unresolved external symbol "protected: virtual long __thiscall LibUIDK::CUIWnd::WindowProc(unsigned int,unsigned int,long)" (?WindowProc@CUIWnd@LibUIDK@@MAEJIIJ@Z)
PlayListWnd.obj : error LNK2001: unresolved external symbol "protected: virtual long __thiscall LibUIDK::CUIWnd::WindowProc(unsigned int,unsigned int,long)" (?WindowProc@CUIWnd@LibUIDK@@MAEJIIJ@Z)
EqulizerWnd.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall LibUIDK::CUIWnd::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CUIWnd@LibUIDK@@UAEHPAUtagMSG@@@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall LibUIDK::CUIWnd::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CUIWnd@LibUIDK@@UAEHPAUtagMSG@@@Z)
PlayerWnd.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall LibUIDK::CUIWnd::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CUIWnd@LibUIDK@@UAEHPAUtagMSG@@@Z)
PlayListWnd.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall LibUIDK::CUIWnd::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CUIWnd@LibUIDK@@UAEHPAUtagMSG@@@Z)
EqulizerWnd.obj : error LNK2001: unresolved external symbol "public: __thiscall LibUIDK::CUIWnd::CUIWnd(void)" (??0CUIWnd@LibUIDK@@QAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: __thiscall LibUIDK::CUIWnd::CUIWnd(void)" (??0CUIWnd@LibUIDK@@QAE@XZ)
PlayerWnd.obj : error LNK2001: unresolved external symbol "public: __thiscall LibUIDK::CUIWnd::CUIWnd(void)" (??0CUIWnd@LibUIDK@@QAE@XZ)
PlayListWnd.obj : error LNK2001: unresolved external symbol "public: __thiscall LibUIDK::CUIWnd::CUIWnd(void)" (??0CUIWnd@LibUIDK@@QAE@XZ)
EqulizerWnd.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall LibUIDK::CUIWnd::~CUIWnd(void)" (??1CUIWnd@LibUIDK@@UAE@XZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall LibUIDK::CUIWnd::~CUIWnd(void)" (??1CUIWnd@LibUIDK@@UAE@XZ)
PlayerWnd.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall LibUIDK::CUIWnd::~CUIWnd(void)" (??1CUIWnd@LibUIDK@@UAE@XZ)
PlayListWnd.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall LibUIDK::CUIWnd::~CUIWnd(void)" (??1CUIWnd@LibUIDK@@UAE@XZ)
EqulizerWnd.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const LibUIDK::CUIWnd::messageMap" (?messageMap@CUIWnd@LibUIDK@@1UAFX_MSGMAP@@B)
MainFrm.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const LibUIDK::CUIWnd::messageMap" (?messageMap@CUIWnd@LibUIDK@@1UAFX_MSGMAP@@B)
PlayerWnd.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const LibUIDK::CUIWnd::messageMap" (?messageMap@CUIWnd@LibUIDK@@1UAFX_MSGMAP@@B)
PlayListWnd.obj : error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const LibUIDK::CUIWnd::messageMap" (?messageMap@CUIWnd@LibUIDK@@1UAFX_MSGMAP@@B)
MainFrm.obj : error LNK2001: unresolved external symbol "public: void __thiscall LibUIDK::CSliderCtrlEx::SetPos(int)" (?SetPos@CSliderCtrlEx@LibUIDK@@QAEXH@Z)
MainFrm.obj : error LNK2001: unresolved external symbol "public: void __thiscall LibUIDK::CSliderCtrlEx::SetRange(int,int,int)" (?SetRange@CSliderCtrlEx@LibUIDK@@QAEXHHH@Z)
Bin/DVDPlayer.exe : fatal error LNK1120: 12 unresolved externals
Error executing link.exe.DVDPlayer.exe - 34 error(s), 0 warning(s)