So i have this very strange but hopefully easy to solve issue for you guys.
I am compiling cegui with vs2015 toolset 140_xp. On windows 10 everything works fine and is peachy, on XP however the static portion of the cegui code wont load correctly when written in a DLL that is loaded on runtime. When i write the same code into an executable, cegui runs just fine.
Here is the produced log for the crash:
16/08/2017 11:08:42 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
16/08/2017 11:08:42 (Std) + Crazy Eddie's GUI System - Event log +
16/08/2017 11:08:42 (Std) + (http://www.cegui.org.uk/) +
16/08/2017 11:08:42 (Std) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
16/08/2017 11:08:42 (Std) CEGUI::Logger singleton created. (00157160)
16/08/2017 11:08:42 (Std)
16/08/2017 11:08:42 (Std) ********************************************************************************
16/08/2017 11:08:42 (Std) * Important: *
16/08/2017 11:08:42 (Std) * To get support at the CEGUI forums, you must post _at least_ the section *
16/08/2017 11:08:42 (Std) * of this log file indicated below. Failure to do this will result in no *
16/08/2017 11:08:42 (Std) * support being given; please do not waste our time. *
16/08/2017 11:08:42 (Std) ********************************************************************************
16/08/2017 11:08:42 (Std) ********************************************************************************
16/08/2017 11:08:42 (Std) * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
16/08/2017 11:08:42 (Std) ********************************************************************************
16/08/2017 11:08:42 (Std) ---- Version: 0.8.7 (Build: Jul 18 2017 Static Microsoft Windows MSVC++ 14.0 (2015) 32 bit) ----
16/08/2017 11:08:42 (Std) ---- Renderer module is: CEGUI::Direct3D9Renderer - Official Direct3D 9 based 2nd generation renderer module. ----
16/08/2017 11:08:42 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
16/08/2017 11:08:42 (Std) ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
16/08/2017 11:08:42 (Std) ---- Scripting module is: None ----
16/08/2017 11:08:42 (Std) ********************************************************************************
16/08/2017 11:08:42 (Std) * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
16/08/2017 11:08:42 (Std) ********************************************************************************
16/08/2017 11:08:42 (Std)
16/08/2017 11:08:42 (Std) ---- Begining CEGUI System initialisation ----
16/08/2017 11:08:42 (Std) [CEGUI::ImageManager] Singleton created (0024C058)
16/08/2017 11:08:42 (Std) [CEGUI::ImageManager] Registered Image type: BasicImage
16/08/2017 11:08:42 (Std) CEGUI::FontManager singleton created. (0024B7F8)
16/08/2017 11:08:42 (Std) CEGUI::WindowFactoryManager singleton created
16/08/2017 11:08:42 (Std) CEGUI::WindowManager singleton created (02456040)
16/08/2017 11:08:42 (Std) CEGUI::SchemeManager singleton created. (0327DD78)
16/08/2017 11:08:42 (Std) CEGUI::GlobalEventSet singleton created. (0024FFD0)
16/08/2017 11:08:42 (Std) CEGUI::AnimationManager singleton created (0024F068)
16/08/2017 11:08:42 (Std) CEGUI::WidgetLookManager singleton created. (001E1B40)
16/08/2017 11:08:42 (Std) CEGUI::WindowRendererManager singleton created (0024FFF0)
16/08/2017 11:08:42 (Std) CEGUI::RenderEffectManager singleton created (02455CF0)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'DefaultWindow' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'DefaultWindow' windows added. (0245BED0)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'DragContainer' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'DragContainer' windows added. (0245C260)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'ScrolledContainer' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'ScrolledContainer' windows added. (0245C3C0)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'ClippedContainer' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'ClippedContainer' windows added. (0245C720)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/PushButton' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/PushButton' windows added. (0245C938)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/RadioButton' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/RadioButton' windows added. (0245CA98)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Combobox' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Combobox' windows added. (0245CB40)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/ComboDropList' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/ComboDropList' windows added. (0245CDA0)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Editbox' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Editbox' windows added. (0245CFC8)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/FrameWindow' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/FrameWindow' windows added. (0245D070)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/ItemEntry' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/ItemEntry' windows added. (0245D480)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Listbox' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Listbox' windows added. (0245D698)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/ListHeader' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/ListHeader' windows added. (0245D740)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (0245D958)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Menubar' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Menubar' windows added. (0245DC68)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/PopupMenu' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/PopupMenu' windows added. (0245DD10)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/MenuItem' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/MenuItem' windows added. (0245DE70)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/MultiColumnList' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/MultiColumnList' windows added. (0245DF18)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (0245E078)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/ProgressBar' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/ProgressBar' windows added. (0245E1D8)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/ScrollablePane' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/ScrollablePane' windows added. (0245E338)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Scrollbar' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Scrollbar' windows added. (0245E498)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Slider' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Slider' windows added. (0245E540)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Spinner' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Spinner' windows added. (0245E758)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/TabButton' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/TabButton' windows added. (0245E800)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/TabControl' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/TabControl' windows added. (0245EAD0)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Thumb' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Thumb' windows added. (0245EC30)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Titlebar' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Titlebar' windows added. (0245ECD8)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/ToggleButton' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/ToggleButton' windows added. (0245ED80)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Tooltip' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Tooltip' windows added. (0245EF98)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/ItemListbox' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/ItemListbox' windows added. (0245F1A8)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/GroupBox' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/GroupBox' windows added. (0245F308)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'CEGUI/Tree' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'CEGUI/Tree' windows added. (0245F468)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'LayoutCell' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'LayoutCell' windows added. (0245F5C8)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'HorizontalLayoutContainer' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'HorizontalLayoutContainer' windows added. (0245F728)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'VerticalLayoutContainer' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'VerticalLayoutContainer' windows added. (0245F988)
16/08/2017 11:08:42 (Std) Created WindowFactory for 'GridLayoutContainer' windows.
16/08/2017 11:08:42 (Std) WindowFactory for 'GridLayoutContainer' windows added. (0245FC58)
16/08/2017 11:08:42 (Std) CEGUI::System singleton created. (00153158)
16/08/2017 11:08:42 (Std) ---- CEGUI System initialisation completed ----
16/08/2017 11:08:42 (Std)
16/08/2017 11:08:43 (Std) Started creation of Scheme from XML specification:
16/08/2017 11:08:43 (Std) ---- CEGUI GUIScheme name: TaharezLook
16/08/2017 11:08:43 (Std) [ImageManager] Started creation of Imageset from XML specification:
16/08/2017 11:08:43 (Std) [ImageManager] ---- CEGUI Imageset name: TaharezLook
16/08/2017 11:08:43 (Std) [ImageManager] ---- Source texture file: TaharezLook.png
16/08/2017 11:08:43 (Std) [ImageManager] ---- Source texture resource group: (Default)
16/08/2017 11:08:43 (Std) [Direct3D9Renderer] Created texture: TaharezLook
16/08/2017 11:08:43 (Error) CEGUI::UnknownObjectException in function 'class CEGUI::Image &__thiscall CEGUI::ImageManager::create(const class CEGUI::XMLAttributes &)' (cegui\cegui\src\ImageManager.cpp:190) : Unknown Image type:
16/08/2017 11:08:43 (Error) The last thrown exception was related to XML file 'TaharezLook.imageset' from resource group 'imagesets'.