下载了LibUIDK4.0,是官网下载的。。 里面说在vc6创建时会多出一个项 Open VC6.0. From the File menu, select New and then Project…. From the Project pane, select MFC AppWizard (exe - LibUIDK). Choose a name for the project, such as HelloGUI, and enter it in the Project Name field.
这里的MFC AppWizard (exe - LibUIDK).我怎么没找到啊,是不是只针对英文版的vc6啊,我是中文版的,始终没发现MFC AppWizard (exe - LibUIDK).在哪里 ????
这里的MFC AppWizard (exe - LibUIDK).我怎么没找到啊,是不是只针对英文版的vc6啊,我是中文版的,始终没发现MFC AppWizard (exe - LibUIDK).在哪里 ????
LibUIDK安装的时候, 会从注册表中搜索你系统中VC6的安装路径, 如果找到, 就把LibUIDK for VC6的向导拷贝到VC6安装目录下的合适位置。当VC6新建工程的时候,就可以看到这个选项了。
但VC6的不同版本在安装的时候,在注册表中注册的安装路径是不同的,导致LibUIDK安装程序不能正确找到VC6的安装目录,所以才产生你说的问题。解决方法:
搜索LibUIDK安装目录, 找到文件:LibUIDKWiz.awx, 把它拷贝到VC6安装目录下面, 以我的为例, 拷贝到:
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Template下面就可以了。同理, LibUIDK.h和LibUIDK60.lib等文件, 也要拷贝到VC相应目录下, 或者拷贝到你的工程目录下。下个版本的LibUIDK将解决这个bug.有其它问题加msn:[email protected]
多谢了!
Compiling...
StdAfx.cpp
Compiling...
DVDPlayer.cpp
EqulizerWnd.cpp
MainFrm.cpp
PlayerWnd.cpp
PlayListWnd.cpp
Generating Code...
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)