|
Sorry for the delay on this - don't think I've reproduced your setup yet, but for what it's worth this code inserted into the skins demo seems to work:
void CSkinsDemoView::OnItem1()
{
static bool bNewMenu = false;
CMenu menu;
if(bNewMenu) {
menu.LoadMenu(IDR_SKINSDTYPE);
bNewMenu = false;
}
else {
menu.LoadMenu(IDR_SKINSDTYPE1);
bNewMenu = true;
}
CMDIFrameWnd* frame = (CMDIFrameWnd*)AfxGetMainWnd();
frame->MDISetMenu(&menu, NULL);
frame->DrawMenuBar();
menu.Detach();
}
Where are you calling the code? I'm wondering about the line here:
CMDIFrameWnd* frame = ((CMDIChildWnd*)this)->GetMDIFrame();
Tim
|
|
|
|
|
I call the code from child frame.
Your code inserted into the skins demo works. But your code handle item from popup menu and this give me an idea. There is one thing I don't pay attention before.
The code of switching menu first time is called to handle main menu popup item.
Menu changed ok. Second time the code is called to handle main menu toplevel item. And this generate exception. It seems something wrong in menu organizer...
I converted menu item from toplevel to popup and all works fine now.
But if you find solution with toplevel menu item it'll be perfect.
text
|
|
|
|
|
I am compiling UT with updates using VS2008. The constant 'WM_DISPLAYPOPUPMENU_ALLITEMS' is undefined. What value should it be set to?
Thanks,
Ian
|
|
|
|
|
I should qualify the error posted in my first message. The errors I get are as follows:
1>..\..\source\OXMenuBar.cpp(142) : error C2065: 'WM_DISPLAYPOPUPMENU_ALLITEMS' : undeclared identifier
1>..\..\source\OXMenuBar.cpp(264) : error C2065: 'WM_DISPLAYPOPUPMENU_ALLITEMS' : undeclared identifier
1>..\..\source\OXMenuBar.cpp(264) : error C2065: 'WM_DISPLAYPOPUPMENU_ALLITEMS' : undeclared identifier
1>..\..\source\OXMenuBar.cpp(264) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Thanks,
Ian
|
|
|
|
|
Hi Ian
That define was added at line 1049 of OXMainRes.h in update 01. Is it possible you applied update 02 (with the VS2008 changes) without first applying update 01? That might cause this - you might want to apply update 01 and re-apply update 02.
Tim
|
|
|
|
|
I have COXPropertiesWnd in CPropertiesBar(: public COXSizeControlBar) like in the SkinsDemo sample.
Please say, how can I perform some action from CPropertiesBar class when a property value is changed?
text
|
|
|
|
|
I did something like this in the skins demo a while back, and found that it was difficult to use straight message reflection, so came up with a kind of subscription mechanism.
This lets the properties bar subscribe to a user message from a control on the properties window.
As an example, I used the combo box that appears on top of the properties tree, and derived a new COXPropCombo class.
There I added an ON_CONTROL_REFLECT handler so that the combo could trap it's own notification messages, and a method that allows the properties bar to subscribe to custom messages, storing the window in a new m_pSelChangeNotifyWnd member:
First, in the new OXPropCombo.h, define the message:
#define WM_USER_PROPCOMBOSELCHANGE WM_USER + 95
Then, the cpp file adds the following:
#include "stdafx.h"
#include "OXPropCombo.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
COXPropCombo::COXPropCombo()
{
m_pSelChangeNotifyWnd = NULL;
}
COXPropCombo::~COXPropCombo()
{
}
BEGIN_MESSAGE_MAP(COXPropCombo, CComboBoxEx)
ON_CONTROL_REFLECT(CBN_SELCHANGE, OnCbnSelchange)
END_MESSAGE_MAP()
void COXPropCombo::OnCbnSelchange()
{
if(m_pSelChangeNotifyWnd != NULL && ::IsWindow(m_pSelChangeNotifyWnd->m_hWnd)) {
m_pSelChangeNotifyWnd->SendMessage( WM_USER_PROPCOMBOSELCHANGE, 0, GetCurSel());
}
}
void COXPropCombo::SetCBSelChangeNotifyWnd(CWnd* wnd)
{
if(wnd != NULL && ::IsWindow(wnd->m_hWnd)) {
m_pSelChangeNotifyWnd = wnd;
}
}
With that in place, the properties bar can subscribe to the combo:
int CPropertiesBar::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (COXSizeControlBar::OnCreate(lpCreateStruct) == -1)
return -1;
if (!m_wndProperties.Create(NULL, NULL, WS_VISIBLE | WS_CHILD, CRect(0,0,0,0), this))
{
return -1;
}
for (int i = 0; i < 10; i++)
{
COMBOBOXEXITEM cbi;
cbi.iItem = i;
cbi.mask = CBEIF_TEXT;
CString strText;
strText.Format(_T("Item %d"), i);
cbi.pszText = (TCHAR*)(LPCTSTR) strText;
m_wndProperties.GetComboBoxEx().InsertItem(&cbi);
}
m_wndProperties.GetComboBoxEx().SetCBSelChangeNotifyWnd(this);
Then a custom message handler is set up:
BEGIN_MESSAGE_MAP(CPropertiesBar, COXSizeControlBar)
ON_WM_CREATE()
ON_WM_SIZE()
ON_MESSAGE(WM_USER_PROPCOMBOSELCHANGE, OnComboSelChange)
END_MESSAGE_MAP()
LRESULT CPropertiesBar::OnComboSelChange(WPARAM , LPARAM lParam){
CString str;
m_wndProperties.GetComboBoxEx().GetLBText(lParam, str);
MessageBox(str);
return TRUE;
}
And a message box shown when the selection changes, as a simple test.
This is a bit of an odd way of doing things, and would probably require a bit more customization of the individual controls on the properties tree, but is one way of going about it. Again, I found it difficult to use straight message reflection to propagate the notifications properly, though it's been a while since I looked at this.
Maybe it will give you some ideas.
Tim
|
|
|
|
|
|
One more question.
I try to set value of the specified property by calling SetPropertyValue method. But displaying value don't change. I call Invalidate() method to see a new value. Window is blink in this case. Is there any more effective way to show new value of the property?
text
|
|
|
|
|
Yes - with access to the m_wndTree of the COXPropertiesWnd you could call RedrawTreeItems , which is nicer.
The m_wndTree is protected, so I modified the COXPropertiesWnd::SetPropertyValue call to test -
BOOL COXPropertiesWnd::SetPropertyValue(HPROPERTY hProperty, LPCTSTR lpszValue)
{
ASSERT(hProperty != NULL);
BOOL retval = m_wndTree.SetItemText(hProperty, lpszValue, 1);
if(retval == TRUE) {
m_wndTree.RedrawTreeItems(hProperty,hProperty);
}
return retval;
}
It might be nicer to add a RedrawProperties call to the COXPropertiesWnd class that would do this - might provide some more control/efficiency.
Tim
|
|
|
|
|
Yes. Now it looks better. Thanks.
text
|
|
|
|
|
Can I put some editor to the properties window to choose font?
text
|
|
|
|
|
Hello,
The following "AllSamples" 32-bit UNICODE build errors exist:
---------------
Linking...
uafxcwd.lib(wincore.obj) : error LNK2005: "wchar_t const * const _afxWndControlBar" (?_afxWndControlBar@@3QB_WB) already defined in OXSizeDlgBar.obj
Debug_Unicode\VisualStudioLikeDemo.exe : fatal error LNK1169: one or more multiply defined symbols found
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://d:\Ultimate Toolbox\samples\advanced\VisualStudioLikeDemo\Debug_Unicode\BuildLog.htm"
VisualStudioLikeDemo - 2 error(s), 0 warning(s)
-----------------
Compiling...
StdAfx.cpp
c:\program files\microsoft sdks\windows\v6.0a\include\sdkddkver.h(217) : fatal error C1189: #error : _WIN32_WINNT settings conflicts with _WIN32_IE setting
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\Debug\FoldersBar.sbr': No such file or directory
Build log was saved at "file://d:\Ultimate Toolbox\samples\advanced\SkinsDemo\Debug\BuildLog.htm"
SkinsDemo - 2 error(s), 0 warning(s)
-----------------
Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
LINK : fatal error LNK1181: cannot open input file 'jpgr.lib'
Build log was saved at "file://d:\Ultimate Toolbox\samples\advanced\ScreenGrabber\Release_Shared\BuildLog.htm"
ScreenGrabber - 1 error(s), 0 warning(s)
--------------------
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
LINK : fatal error LNK1181: cannot open input file '..\..\..\Lib\libs\jpgr.lib'
Build log was saved at "file://d:\Ultimate Toolbox\samples\gui\preview\Release_Shared\BuildLog.htm"
Preview - 1 error(s), 0 warning(s)
----------------------
HtmlCtrl.cpp
ChildFrm.cpp
Generating Code...
Build log was saved at "file://d:\Ultimate Toolbox\samples\utility\Parser\ReleaseUnicode\BuildLog.htm"
ParserView - 2 error(s), 0 warning(s)
-------------------------
Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
LINK : fatal error LNK1181: cannot open input file 'jpgr.lib'
Build log was saved at "file://d:\Ultimate Toolbox\samples\graphics\JPGtest\Release\BuildLog.htm"
JPGtest - 1 error(s), 0 warning(s)
------------------
ChildFrm.cpp
Generating Code...
Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
LINK : fatal error LNK1181: cannot open input file '..\..\..\Lib\libs\jpgr.lib'
Build log was saved at "file://d:\Ultimate Toolbox\samples\graphics\ImageViewer\Release_Shared\BuildLog.htm"
ImageViewer - 1 error(s), 0 warning(s)
------------------------
Linking...
LINK : fatal error LNK1104: cannot open file 'jpgd.lib'
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://d:\Ultimate Toolbox\samples\advanced\DIBManager\Debug\BuildLog.htm"
DIBManager - 1 error(s), 0 warning(s)
Compiling...
StdAfx.cpp
WINVER not defined. Defaulting to 0x0600 (Windows Vista)
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxcomctl32.h(279) : fatal error C1088: Cannot flush compiler intermediate file: 'C:\DOCUME~1\ADMINI~1.JAC\LOCALS~1\Temp\_CL_28ff6a48sy': No space left on device
Build log was saved at "file://d:\Ultimate Toolbox\samples\gui\CoolControls\Release_Shared\BuildLog.htm"
CoolControls - 1 error(s), 0 warning(s)
-----------------------------
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
LINK : fatal error LNK1181: cannot open input file 'Edkguid.lib'
Build log was saved at "file://d:\Ultimate Toolbox\samples\shell\AddressBook\Release\BuildLog.htm"
AddressBook - 1 error(s), 0 warning(s)
---------------------------
-jc
|
|
|
|
|
JRCooper wrote: Linking...
uafxcwd.lib(wincore.obj) : error LNK2005: "wchar_t const * const _afxWndControlBar" (?_afxWndControlBar@@3QB_WB) already defined in OXSizeDlgBar.obj
Debug_Unicode\VisualStudioLikeDemo.exe : fatal error LNK1169: one or more multiply defined symbols found
Yes - there's a guard at line 83 of oxsizeddlgbar.cpp that isn't quite right, and needs a tweak:
#if defined(_AFXDLL) || (defined(_UNICODE) && _MFC_VER >= 0x0700)
#pragma message ( "oxsizedlgbar.cpp line 84 : VS 2003 may need this symbol defined" )
const TCHAR _afxWndControlBar[] = _T("AfxControlBar");
#endif
JRCooper wrote: c:\program files\microsoft sdks\windows\v6.0a\include\sdkddkver.h(217) : fatal error C1189: #error : _WIN32_WINNT settings conflicts with _WIN32_IE setting
Check the stdafx.h of the skins demo - it may be defining WINVER as 0x0400 - one of the few samples that defines WINVER - remember, the samples are not updated for VS2008.
Many of the other errors will go away if you build the JPEG libs - the project is in the libs\JPEG directory.
The AddressBook sample will need to be looked at for VS2008 I'm sure - there are all kinds of twists and turns in the MAPI family of updates as compiler SDK files change.
Hope this is somewhat helpful - once there's a beta of the 64-bit core, we can start massaging the samples as required.
Tim
|
|
|
|
|
Not sure who maintains this, but...
oxtreectrl.h(537) has a definition of TVGN_NEXTSELECTED which conflicts with the v6.1 Platform SDK commctrl.h(5556)
I'm not sure if the appropriate fix would be to rename the UT #define or change the value to match the Platform SDK, but I thought I'd point it out.
|
|
|
|
|
Thanks -
Update 02 for the toolbox has this code in place in oxtreectrl.h:
#if (_WIN32_IE <= 0x0600)
#define TVGN_NEXTSELECTED 0x31
#endif
Might help?
Also, I think I should make the updates [^] page link more prominent on the articles pages.
Tim
|
|
|
|
|
The relevant portion of commctrl.h is:
#if (_WIN32_IE >= 0x0600)
#define TVGN_NEXTSELECTED 0x000B
#endif
The problem is that if _WIN32_IE == 0x0600, you get a conflict. The code in UT I think should be:
#if (_WIN32_IE < 0x0600)
#define TVGN_NEXTSELECTED 0x31
#endif
|
|
|
|
|
Makes sense - will make a note for the next update.
Thanks,
Tim
|
|
|
|
|
Hello,
Any ideas on how to resolve the following Toolbox 64-bit compiler errors?
OXMenuBar.cpp
.\utoolbox\OXMenuBar.cpp(105) : error C2664: 'PtrToInt' : cannot convert parameter 1 from 'INT_PTR' to 'const void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
.\utoolbox\OXMenuBar.cpp(1565) : error C2065: 'GCL_HICONSM' : undeclared identifier
.\utoolbox\OXMenuBar.cpp(1567) : error C2065: 'GCL_HICON' : undeclared identifier
OXBitmapMenuOrganizer.cpp
.\utoolbox\OXBitmapMenuOrganizer.cpp(966) : error C2065: 'GWL_WNDPROC' : undeclared identifier
.\utoolbox\OXBitmapMenuOrganizer.cpp(985) : error C2065: 'GWL_WNDPROC' : undeclared identifier
.\utoolbox\OXBitmapMenuOrganizer.cpp(986) : error C2065: 'GWL_WNDPROC' : undeclared identifier
.\utoolbox\OXBitmapMenuOrganizer.cpp(1012) : error C2065: 'GWL_WNDPROC' : undeclared identifier
OXBitmapButton.cpp
.\utoolbox\OXBitmapButton.cpp(2802) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
.\utoolbox\OXBitmapButton.cpp(2807) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
Thanks,
-jc
|
|
|
|
|
Don't have any a solution at hand - will need some tweaking.
Most of the code has been reworked to get around the issues raised when compiling the 32 bit code with 64 portability warnings turned on, which doesn't seem to catch these.
Where needed, the UTB64bit.h file has #defines to adjust for the new fn names and typedefs, but doesn't deal with the GWLP_WNDPROC vs GWL_WNDPROC etc defines.
These and the GCL_ ones could probably be dealt with in UT64Bit.h, with perhaps an added switch e.g. UT_COMPILE_64BIT or some such.
I don't have the 64 bit compiler here - maybe you can have a look on your end.
One question - are these the only errors you get when compiling the major portion of the source (i.e. one of the static lib or DLL builds)?
Tim
|
|
|
|
|
Hi Tim,
Thank you for taking the time to reply to my posting.
I changed the GWL_WNDPROC to GWLP_WNDPROC and GCL_HICONSM to GCLP_HICONSM
and the errors were eliminated.
I am uncertain of your question? But, I will try to answer what I think your
question is. There were 100s of errors and 100s of warnings. I was able to
fix all of the errors and warnings with the exception of the few errors that
I identified in my original posting.
Thanks,
-jc
List of errors:
.\utoolbox\xstatus4.h(284) : error C2555: 'COXStatusBar::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\oxmenubar.h(593) : error C2555: 'COXMenuBar::GetMenu': overriding virtual function return type differs and is not covariant from 'CWnd::GetMenu'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2245) : see declaration of 'CWnd::GetMenu'
.\utoolbox\Tbaricon.cpp(23) : error C2440: 'static_cast' : cannot convert from 'void (__cdecl CTaskbarIcon::* )(UINT)' to 'void (__cdecl CWnd::* )(UINT_PTR)'
Cast from base to derived requires dynamic_cast or static_cast
.\utoolbox\OXToolTipCtrl.cpp(84) : error C2440: 'static_cast' : cannot convert from 'void (__cdecl COXToolTipCtrl::* )(UINT)' to 'void (__cdecl CWnd::* )(UINT_PTR)'
Cast from base to derived requires dynamic_cast or static_cast
.\utoolbox\OXFrameWndDock.h(973) : error C2555: 'COXSizeViewBar::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\OXFrameWndDock.h(973) : error C2555: 'COXSizeViewBar::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\OXSizeCtrlBar.CPP(187) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSizeControlBar::* )(UINT,LONG)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXSizeCtrlBar.CPP(465) : error C2511: 'LONG COXSizeControlBar::OnAddContextMenuItems(WPARAM,LPARAM)' : overloaded member function not found in 'COXSizeControlBar'
d:\onmconsole\utoolbox\OXSizeCtrlBar.h(126) : see declaration of 'COXSizeControlBar'
.\utoolbox\OXShortcutBar.h(1991) : error C2555: 'COXSHBListCtrl::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\OXShortcutBar.h(3810) : error C2555: 'COXShortcutBar::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\OXShortcutBar.cpp(777) : error C2440: 'static_cast' : cannot convert from 'void (__cdecl COXSHBListCtrl::* )(UINT)' to 'void (__cdecl CWnd::* )(UINT_PTR)'
Cast from base to derived requires dynamic_cast or static_cast
.\utoolbox\OXShortcutBar.cpp(781) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(782) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(787) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(788) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(789) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(790) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(792) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(793) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(794) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(795) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(798) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(799) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(800) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(801) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(802) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(803) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(804) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(805) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(806) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(807) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(808) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(809) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(810) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(811) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(812) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(813) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(814) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(815) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(816) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(817) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(818) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(819) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(820) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(821) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(822) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(823) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(824) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(825) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(826) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSHBListCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(5195) : error C2440: 'static_cast' : cannot convert from 'void (__cdecl COXShortcutBar::* )(UINT)' to 'void (__cdecl CWnd::* )(UINT_PTR)'
Cast from base to derived requires dynamic_cast or static_cast
.\utoolbox\OXShortcutBar.cpp(5202) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXShortcutBar::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXShortcutBar.cpp(5203) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXShortcutBar::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXPopupBarCtrl.cpp(157) : error C2440: 'static_cast' : cannot convert from 'void (__cdecl COXPopupBarCtrl::* )(UINT)' to 'void (__cdecl CWnd::* )(UINT_PTR)'
Cast from base to derived requires dynamic_cast or static_cast
.\utoolbox\OXMonthCalCtrl.h(1673) : error C2555: 'COXMonthCalCtrl::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\OXMonthCalCtrl.cpp(65) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXMonthCalCtrl::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXMenuBar.h(593) : error C2555: 'COXMenuBar::GetMenu': overriding virtual function return type differs and is not covariant from 'CWnd::GetMenu'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2245) : see declaration of 'CWnd::GetMenu'
.\utoolbox\OXMenuBar.cpp(121) : error C2440: 'static_cast' : cannot convert from 'void (__cdecl COXMenuBar::* )(UINT)' to 'void (__cdecl CWnd::* )(UINT_PTR)'
Cast from base to derived requires dynamic_cast or static_cast
.\utoolbox\OXMenuBar.cpp(126) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXMenuBar::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXMenuBar.cpp(129) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXMenuBar::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXMenuBar.cpp(1492) : error C2065: 'GCL_HICONSM' : undeclared identifier
.\utoolbox\OXMenuBar.cpp(1494) : error C2065: 'GCL_HICON' : undeclared identifier
.\utoolbox\OXMenuBar.cpp(1499) : error C2664: 'SendMessageTimeoutA' : cannot convert parameter 7 from 'LPDWORD' to 'PDWORD_PTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\utoolbox\OXMenuBar.cpp(1503) : error C2664: 'SendMessageTimeoutA' : cannot convert parameter 7 from 'LPDWORD' to 'PDWORD_PTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\utoolbox\OXFrameWndDock.h(973) : error C2555: 'COXSizeViewBar::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\OXFrameWndDock.h(973) : error C2555: 'COXSizeViewBar::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\OXFrameWndDock.CPP(1833) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXMDIChildWndSizeDock::* )(UINT,LONG)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXFrameWndDock.CPP(2499) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSizeViewBar::* )(UINT,LONG)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXFrameWndDock.CPP(2500) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSizeViewBar::* )(UINT,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXFrameWndDock.CPP(2501) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXSizeViewBar::* )(UINT,LONG)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXFrameWndDock.CPP(2797) : error C2511: 'LONG COXSizeViewBar::OnAddContextMenuItems(WPARAM,LPARAM)' : overloaded member function not found in 'COXSizeViewBar'
.\utoolbox\OXFrameWndDock.h(973) : error C2555: 'COXSizeViewBar::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\OXDragDockContext.CPP(582) : warning C4244: 'argument' : conversion from 'WPARAM' to 'int', possible loss of data
.\utoolbox\OXDockTabCtrl.cpp(79) : error C2039: 'SaveMouseOffset' : is not a member of 'COXCoolToolBar'
d:\onmconsole\utoolbox\OXCoolToolBar.h(1685) : see declaration of 'COXCoolToolBar'
.\utoolbox\OXDockTabCtrl.cpp(81) : error C2039: 'm_bDragging' : is not a member of 'COXCoolToolBar'
d:\onmconsole\utoolbox\OXCoolToolBar.h(1685) : see declaration of 'COXCoolToolBar'
.\utoolbox\OXDockTabCtrl.cpp(91) : error C2039: 'SaveMouseOffset' : is not a member of 'COXSizeControlBar'
d:\onmconsole\utoolbox\OXSizeCtrlBar.h(126) : see declaration of 'COXSizeControlBar'
.\utoolbox\OXDockTabCtrl.cpp(93) : error C2039: 'm_bDragging' : is not a member of 'COXSizeControlBar'
d:\onmconsole\utoolbox\OXSizeCtrlBar.h(126) : see declaration of 'COXSizeControlBar'
.\utoolbox\OXDockTabCtrl.cpp(115) : error C2039: 'GetSizeControlBarCount' : is not a member of 'COXSizeDockBar'
d:\onmconsole\utoolbox\OXSizeDockBar.h(83) : see declaration of 'COXSizeDockBar'
.\utoolbox\OXDockTabCtrl.cpp(124) : error C2248: 'CDockBar::GetDockedControlBar' : cannot access protected member declared in class 'CDockBar'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxpriv.h(632) : see declaration of 'CDockBar::GetDockedControlBar'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxpriv.h(589) : see declaration of 'CDockBar'
.\utoolbox\OXDockTabCtrl.cpp(155) : error C2039: 'PositionTabCtrl' : is not a member of 'COXSizeDockBar'
d:\onmconsole\utoolbox\OXSizeDockBar.h(83) : see declaration of 'COXSizeDockBar'
.\utoolbox\OXDockTabCtrl.cpp(216) : error C2039: 'GetTabHeight' : is not a member of 'COXSizeDockBar'
d:\onmconsole\utoolbox\OXSizeDockBar.h(83) : see declaration of 'COXSizeDockBar'
.\utoolbox\OXDockTabCtrl.cpp(237) : error C2039: 'GetSizeControlBarCount' : is not a member of 'COXSizeDockBar'
d:\onmconsole\utoolbox\OXSizeDockBar.h(83) : see declaration of 'COXSizeDockBar'
.\utoolbox\OXDockTabCtrl.cpp(239) : error C2039: 'GetFirstDockedSizeControlBar' : is not a member of 'COXSizeDockBar'
d:\onmconsole\utoolbox\OXSizeDockBar.h(83) : see declaration of 'COXSizeDockBar'
.\utoolbox\OXDirDlg.cpp(248) : error C2668: 'CEdit::SetSel' : ambiguous call to overloaded function
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(3640): could be 'void CEdit::SetSel(int,int,BOOL)'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(3639): or 'void CEdit::SetSel(DWORD,BOOL)'
while trying to match the argument list '(__int64, int)'
.\utoolbox\OXMonthCalCtrl.h(1673) : error C2555: 'COXMonthCalCtrl::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\OXCoolToolBar.cpp(245) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXCoolToolBar::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXCoolToolBar.cpp(246) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXCoolToolBar::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXCoolToolBar.cpp(247) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXCoolToolBar::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXCoolToolBar.cpp(248) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXCoolToolBar::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXBitmapMenuOrganizer.cpp(935) : error C2065: 'GWL_WNDPROC' : undeclared identifier
.\utoolbox\OXBitmapMenuOrganizer.cpp(954) : error C2065: 'GWL_WNDPROC' : undeclared identifier
.\utoolbox\OXBitmapMenuOrganizer.cpp(955) : error C2065: 'GWL_WNDPROC' : undeclared identifier
.\utoolbox\OXBitmapMenuOrganizer.cpp(981) : error C2065: 'GWL_WNDPROC' : undeclared identifier
.\utoolbox\OXBitmapMenu.cpp(58) : error C2440: 'static_cast' : cannot convert from 'void (__cdecl COXBitmapMenuPopupWnd::* )(UINT)' to 'void (__cdecl CWnd::* )(UINT_PTR)'
Cast from base to derived requires dynamic_cast or static_cast
.\utoolbox\OXBitmapMenu.cpp(64) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXBitmapMenuPopupWnd::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXBitmapMenu.cpp(65) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXBitmapMenuPopupWnd::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXBitmapMenu.cpp(66) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXBitmapMenuPopupWnd::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXBitmapMenu.cpp(67) : error C2440: 'static_cast' : cannot convert from 'LONG (__cdecl COXBitmapMenuPopupWnd::* )(WPARAM,LPARAM)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'
None of the functions with this name in scope match the target type
.\utoolbox\OXBitmapMenu.cpp(1829) : error C2440: '=' : cannot convert from 'long (__cdecl *)(HWND,UINT,WPARAM,LPARAM)' to 'WNDPROC'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
.\utoolbox\xstatus4.h(284) : error C2555: 'COXStatusBar::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\oxmenubar.h(593) : error C2555: 'COXMenuBar::GetMenu': overriding virtual function return type differs and is not covariant from 'CWnd::GetMenu'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2245) : see declaration of 'CWnd::GetMenu'
.\utoolbox\xstatus4.h(284) : error C2555: 'COXStatusBar::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\oxmenubar.h(593) : error C2555: 'COXMenuBar::GetMenu': overriding virtual function return type differs and is not covariant from 'CWnd::GetMenu'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2245) : see declaration of 'CWnd::GetMenu'
.\utoolbox\xstatus4.h(284) : error C2555: 'COXStatusBar::OnToolHitTest': overriding virtual function return type differs and is not covariant from 'CWnd::OnToolHitTest'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2357) : see declaration of 'CWnd::OnToolHitTest'
.\utoolbox\oxmenubar.h(593) : error C2555: 'COXMenuBar::GetMenu': overriding virtual function return type differs and is not covariant from 'CWnd::GetMenu'
D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxwin.h(2245) : see declaration of 'CWnd::GetMenu'
|
|
|
|
|
Ok - looks like some work to be done for a 64 bit update.
I can run the cross compiler in VS8 - compiling the UT DLL for WINVER 0x0600 or WINVER 0x0501 I get 478 errors, 16 warnings. I suspect you are using only a subset of the files directly in your project, but maybe there were just too many errors to post.
I think a lot of these can be taken care of by redefining some return types - would need a closer look.
Ideally, the code base should remain capable of 32 bit compilation, down to VC6 - so any update should try to take this into account, rather than just hard coding the changes.
I can't run 64 bit here, so I'll be interested to see if you find any oddities at tun time - also, are you compiling on a 64-bit machine?
Tim
|
|
|
|
|
Hi Tim,
Yes, a lot of the problems were return type errors;
LRESULT vs. long and vice versa. Also, there were a lot
of errors from argument type differences; WPARAM vs UINT,int,...
and LPARAM vs. long,...
My development environment is VS2008 on a dual-core AMD64,
2GB memory, 1/2 TB disk, WinXP Pro (x64).
-jc
modified on Monday, October 20, 2008 11:36 AM
|
|
|
|
|
Thanks jc
I might take a stab at this - at least check out how much can be done in UTB64Bit.h with a few well placed #ifdef _WIN64's.
Maybe you could help me test if I think I have something worth an update.
Thanks again,
Tim
|
|
|
|
|
Hi Tim,
Yes, please let me know when you have
a new 64-bit update available, and I
will test it.
-jc
modified on Monday, October 20, 2008 7:26 PM
|
|
|
|
|