Hi,

Some examples are not running. For example, building WidgetToolBar results in the following errors:

1>------ Build started: Project: WidgetToolbar, Configuration: Debug Win32 ------
1>  Main.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>e:\cpp_libs\smartwin\include\smartwin\aspects\aspectsizable.h(692): error C2440: 'reinterpret_cast' : cannot convert from 'void (__thiscall CoolbarTest::* )(const SmartWin::WidgetSizedEventResult &)' to 'SmartWin::itsVoidFunction'
1>          Pointers to members have different representations; cannot cast between them
1>          e:\cpp_libs\smartwin\include\smartwin\aspects\aspectsizable.h(683) : while compiling class template member function 'void SmartWin::AspectSizable<EventHandlerClass,WidgetType,MessageMapType>::onSized(void (__thiscall CoolbarTest::* )(const SmartWin::WidgetSizedEventResult &))'
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              WidgetType=SmartWin::WidgetWindowBase<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMap<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgetwindowbase.h(184) : see reference to class template instantiation 'SmartWin::AspectSizable<EventHandlerClass,WidgetType,MessageMapType>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              WidgetType=SmartWin::WidgetWindowBase<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMap<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgetwindow.h(55) : see reference to class template instantiation 'SmartWin::WidgetWindowBase<EventHandlerClass,MessageMapPolicy>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgetfactoryplatformsmartwindesktop.h(52) : see reference to class template instantiation 'SmartWin::WidgetWindow<EventHandlerClass,MessageMapPolicy>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgetfactory.h(97) : see reference to class template instantiation 'SmartWin::WidgetFactoryPlatformImplementation<ContainerWidgetType,EventHandlerClass,MessageMapPolicy,__formal>' being compiled
1>          with
1>          [
1>              ContainerWidgetType=SmartWin::WidgetWindow,
1>              EventHandlerClass=CoolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget,
1>              __formal=SmartWinDesktop
1>          ]
1>          e:\cpp_libs\smartwin\tests\widgettoolbar\main.cpp(23) : see reference to class template instantiation 'SmartWin::WidgetFactory<ContainerWidgetType,EventHandlerClass>' being compiled
1>          with
1>          [
1>              ContainerWidgetType=SmartWin::WidgetWindow,
1>              EventHandlerClass=CoolbarTest
1>          ]
1>e:\cpp_libs\smartwin\include\smartwin\aspects\aspectselection.h(174): error C2440: 'reinterpret_cast' : cannot convert from 'void (__thiscall CoolbarTest::* )(WidgetType *)' to 'SmartWin::itsVoidFunction'
1>          with
1>          [
1>              WidgetType=SmartWin::WidgetComboBox<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          Pointers to members have different representations; cannot cast between them
1>          e:\cpp_libs\smartwin\include\smartwin\aspects\aspectselection.h(168) : while compiling class template member function 'void SmartWin::AspectSelection<EventHandlerClass,WidgetType,MessageMapType>::onSelectionChanged(void (__thiscall CoolbarTest::* )(WidgetType *))'
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              WidgetType=SmartWin::WidgetComboBox<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMapControl<CoolbarTest,SmartWin::WidgetComboBox<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgetcombobox.h(86) : see reference to class template instantiation 'SmartWin::AspectSelection<EventHandlerClass,WidgetType,MessageMapType>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              WidgetType=SmartWin::WidgetComboBox<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMapControl<CoolbarTest,SmartWin::WidgetComboBox<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgetcoolbar.h(131) : see reference to class template instantiation 'SmartWin::WidgetComboBox<EventHandlerClass,MessageMapPolicy>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgetfactoryplatformsmartwindesktop.h(91) : see reference to class template instantiation 'SmartWin::WidgetCoolbar<EventHandlerClass,MessageMapPolicy>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget
1>          ]
1>e:\cpp_libs\smartwin\include\smartwin\aspects\aspectupdate.h(76): error C2440: 'reinterpret_cast' : cannot convert from 'void (__thiscall CoolbarTest::* )(WidgetType *)' to 'SmartWin::itsVoidFunction'
1>          with
1>          [
1>              WidgetType=SmartWin::WidgetTextBox<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          Pointers to members have different representations; cannot cast between them
1>          e:\cpp_libs\smartwin\include\smartwin\aspects\aspectupdate.h(70) : while compiling class template member function 'void SmartWin::AspectUpdate<EventHandlerClass,WidgetType,MessageMapType>::onUpdate(void (__thiscall CoolbarTest::* )(WidgetType *))'
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              WidgetType=SmartWin::WidgetTextBox<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMapControl<CoolbarTest,SmartWin::WidgetTextBox<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgettextbox.h(120) : see reference to class template instantiation 'SmartWin::AspectUpdate<EventHandlerClass,WidgetType,MessageMapType>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              WidgetType=SmartWin::WidgetTextBox<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMapControl<CoolbarTest,SmartWin::WidgetTextBox<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgetcoolbar.h(137) : see reference to class template instantiation 'SmartWin::WidgetTextBox<EventHandlerClass,MessageMapPolicy>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget
1>          ]
1>e:\cpp_libs\smartwin\include\smartwin\aspects\aspectclickable.h(77): error C2440: 'reinterpret_cast' : cannot convert from 'void (__thiscall CoolbarTest::* )(WidgetType *)' to 'SmartWin::itsVoidFunction'
1>          with
1>          [
1>              WidgetType=SmartWin::WidgetButton<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          Pointers to members have different representations; cannot cast between them
1>          e:\cpp_libs\smartwin\include\smartwin\aspects\aspectclickable.h(71) : while compiling class template member function 'void SmartWin::AspectClickable<EventHandlerClass,WidgetType,MessageMapType>::onClicked(void (__thiscall CoolbarTest::* )(WidgetType *))'
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              WidgetType=SmartWin::WidgetButton<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMapControl<CoolbarTest,SmartWin::WidgetButton<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgetbutton.h(76) : see reference to class template instantiation 'SmartWin::AspectClickable<EventHandlerClass,WidgetType,MessageMapType>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              WidgetType=SmartWin::WidgetButton<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMapControl<CoolbarTest,SmartWin::WidgetButton<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgetcoolbar.h(143) : see reference to class template instantiation 'SmartWin::WidgetButton<EventHandlerClass,MessageMapPolicy>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget
1>          ]
1>e:\cpp_libs\smartwin\include\smartwin\aspects\aspectselection.h(174): error C2440: 'reinterpret_cast' : cannot convert from 'void (__thiscall CoolbarTest::* )(WidgetType *)' to 'SmartWin::itsVoidFunction'
1>          with
1>          [
1>              WidgetType=SmartWin::WidgetTreeView<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          Pointers to members have different representations; cannot cast between them
1>          e:\cpp_libs\smartwin\include\smartwin\aspects\aspectselection.h(168) : while compiling class template member function 'void SmartWin::AspectSelection<EventHandlerClass,WidgetType,MessageMapType>::onSelectionChanged(void (__thiscall CoolbarTest::* )(WidgetType *))'
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              WidgetType=SmartWin::WidgetTreeView<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMapControl<CoolbarTest,SmartWin::WidgetTreeView<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgettreeview.h(138) : see reference to class template instantiation 'SmartWin::AspectSelection<EventHandlerClass,WidgetType,MessageMapType>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              WidgetType=SmartWin::WidgetTreeView<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMapControl<CoolbarTest,SmartWin::WidgetTreeView<CoolbarTest,SmartWin::MessageMapPolicyNormalWidget>,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgetcoolbar.h(149) : see reference to class template instantiation 'SmartWin::WidgetTreeView<EventHandlerClass,MessageMapPolicy>' being compiled
1>          with
1>          [
1>              EventHandlerClass=CoolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget
1>          ]
1>e:\cpp_libs\smartwin\include\smartwin\aspects\aspectsizable.h(692): error C2440: 'reinterpret_cast' : cannot convert from 'void (__thiscall ToolbarTest::* )(const SmartWin::WidgetSizedEventResult &)' to 'SmartWin::itsVoidFunction'
1>          Pointers to members have different representations; cannot cast between them
1>          e:\cpp_libs\smartwin\include\smartwin\aspects\aspectsizable.h(683) : while compiling class template member function 'void SmartWin::AspectSizable<EventHandlerClass,WidgetType,MessageMapType>::onSized(void (__thiscall ToolbarTest::* )(const SmartWin::WidgetSizedEventResult &))'
1>          with
1>          [
1>              EventHandlerClass=ToolbarTest,
1>              WidgetType=SmartWin::WidgetWindowBase<ToolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMap<ToolbarTest,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgetwindowbase.h(184) : see reference to class template instantiation 'SmartWin::AspectSizable<EventHandlerClass,WidgetType,MessageMapType>' being compiled
1>          with
1>          [
1>              EventHandlerClass=ToolbarTest,
1>              WidgetType=SmartWin::WidgetWindowBase<ToolbarTest,SmartWin::MessageMapPolicyNormalWidget>,
1>              MessageMapType=SmartWin::MessageMap<ToolbarTest,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgetwindow.h(55) : see reference to class template instantiation 'SmartWin::WidgetWindowBase<EventHandlerClass,MessageMapPolicy>' being compiled
1>          with
1>          [
1>              EventHandlerClass=ToolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgetfactoryplatformsmartwindesktop.h(52) : see reference to class template instantiation 'SmartWin::WidgetWindow<EventHandlerClass,MessageMapPolicy>' being compiled
1>          with
1>          [
1>              EventHandlerClass=ToolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgetfactory.h(97) : see reference to class template instantiation 'SmartWin::WidgetFactoryPlatformImplementation<ContainerWidgetType,EventHandlerClass,MessageMapPolicy,__formal>' being compiled
1>          with
1>          [
1>              ContainerWidgetType=SmartWin::WidgetWindow,
1>              EventHandlerClass=ToolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget,
1>              __formal=SmartWinDesktop
1>          ]
1>          e:\cpp_libs\smartwin\tests\widgettoolbar\main.cpp(211) : see reference to class template instantiation 'SmartWin::WidgetFactory<ContainerWidgetType,EventHandlerClass>' being compiled
1>          with
1>          [
1>              ContainerWidgetType=SmartWin::WidgetWindow,
1>              EventHandlerClass=ToolbarTest
1>          ]
1>e:\cpp_libs\smartwin\include\smartwin\widgets\widgettoolbar.h(568): error C2440: 'reinterpret_cast' : cannot convert from 'void (__thiscall ToolbarTest::* )(WidgetType *,unsigned int)' to 'SmartWin::itsVoidFunction'
1>          with
1>          [
1>              WidgetType=SmartWin::WidgetToolbar<ToolbarTest,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          Pointers to members have different representations; cannot cast between them
1>          e:\cpp_libs\smartwin\include\smartwin\widgets\widgettoolbar.h(536) : while compiling class template member function 'void SmartWin::WidgetToolbar<EventHandlerClass,MessageMapPolicy>::addButton(unsigned int,int,const SmartUtil::tstring &,const SmartUtil::tstring &,bool,void (__thiscall ToolbarTest::* )(WidgetType *,unsigned int))'
1>          with
1>          [
1>              EventHandlerClass=ToolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget,
1>              WidgetType=SmartWin::WidgetToolbar<ToolbarTest,SmartWin::MessageMapPolicyNormalWidget>
1>          ]
1>          e:\cpp_libs\smartwin\include\smartwin\widgetfactoryplatformsmartwindesktop.h(85) : see reference to class template instantiation 'SmartWin::WidgetToolbar<EventHandlerClass,MessageMapPolicy>' being compiled
1>          with
1>          [
1>              EventHandlerClass=ToolbarTest,
1>              MessageMapPolicy=SmartWin::MessageMapPolicyNormalWidget
1>          ]
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Best regards / Asif