有没有人尝试使用Visual Studio 2008或2010构建Ultimate Toolbox? [英] Has anyone tried building Ultimate Toolbox with Visual Studio 2008 or 2010?

查看:82
本文介绍了有没有人尝试使用Visual Studio 2008或2010构建Ultimate Toolbox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Visual Studio 2010编译Ultimate Toolbox时,会多次出现以下错误消息:

When compiling Ultimate Toolbox with Visual Studio 2010, the following error message appears multiple times:

common\libraries\ultimate toolbox\include\oxmenubar.h(606): error C2555: 'COXMenuBar::GetMenu': overriding virtual function return type differs and is not covariant from 'CWnd::GetMenu'<br />
c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxwin.h(2442) : see declaration of 'CWnd::GetMenu'<br />
<br />
<br />
Line 606 in oxmenubar.h is the end of a class definition. The lines below appear within the class definition<br />
class OX_CLASS_DECL COXMenuBar : public COXCoolToolBar<br />
{<br />
<br />
<br />
	// --- In  :	<br />
	// --- Out : <br />
	// --- Returns:	Handle to the menu that is used in the menu bar<br />
	// --- Effect : Retrieves handle to the menubar menu<br />
	HMENU GetMenu() const { <br />
		ASSERT(::IsWindow(GetSafeHwnd()));<br />
		return m_hMenu; <br />
	}<br />
<br />
<br />
}<br />
<br />
<br />
The lines below appear within afxwin.h<br />
// CMenu Functions - non-Child windows only<br />
    virtual CMenu* GetMenu() const;<br />











Ultimate Toolbox 9.0和9.3出现同样的错误。此外,Visual Studio 2008也会出现同样的错误。





链接到有关Ultimate Toolbox的更多信息:

Ultimate Toolbox主页 [ ^ ]

推荐答案

是的,我们确实构建了库(最后并没有真正使用它)



你必须应用这里找到的不同补丁:



终极工具箱 - 更新和用户贡献 [ ^ ]
Yep, we did build the libraries (and ended up not really using it anyway)

You have to apply the different patches found here :

The Ultimate Toolbox - Updates and User Contributions[^]


这篇关于有没有人尝试使用Visual Studio 2008或2010构建Ultimate Toolbox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆