Search found 10 matches

by uvhannes
Tue Sep 26, 2017 06:37
Forum: Help
Topic: Exchange device in D3D renderer on device re-creation
Replies: 2
Views: 910

Re: Exchange device in D3D renderer on device re-creation

cool, thought so :)

Thanks for the answer anyways, appreciate it
by uvhannes
Mon Sep 25, 2017 22:58
Forum: Help
Topic: Exchange device in D3D renderer on device re-creation
Replies: 2
Views: 910

Exchange device in D3D renderer on device re-creation

Hi, we are working with older games that re-create their D3DX devices when you go to fullscreen for example. Currently we destroy the complete CEGUI ecosystem prior to throwing the device away and then we basically start over... Is there are was in CEGUI where i basically can just exchange the devic...
by uvhannes
Sat Aug 19, 2017 23:18
Forum: Help
Topic: [Solved] CEGUI vs DLL vs Executable vs Windows XP
Replies: 13
Views: 1863

Re: CEGUI vs DLL vs Executable vs Windows XP

I do not believe you guys have to do something here. It all is smooth and peachy when making sure the threadsafe init feature is not turned on by default :) MS did the change for a reason, and frankly, i like the change. CEGUI was developed against the non thread safe version, so i believe its safe ...
by uvhannes
Sat Aug 19, 2017 20:57
Forum: Help
Topic: [Solved] CEGUI vs DLL vs Executable vs Windows XP
Replies: 13
Views: 1863

Re: CEGUI vs DLL vs Executable vs Windows XP

my test DLL is a fresh created DLL with
<Keyword>Win32Proj</Keyword>


i am indeed linking against the v140_xp toolset tho. Other than that, this is all very much standard vs2015 settings :/
by uvhannes
Sat Aug 19, 2017 20:11
Forum: Help
Topic: [Solved] CEGUI vs DLL vs Executable vs Windows XP
Replies: 13
Views: 1863

Re: CEGUI vs DLL vs Executable vs Windows XP

That would be odd though. I am sure CEGUI was more used during XP times than it is now and I never had issues (back then using XP myself) nor did we get any reports. Could it be that you use any non-default flags? Is it maybe a bug in a specific version of VS2015? Maybe it just works in VS2013 and ...
by uvhannes
Sat Aug 19, 2017 18:19
Forum: Help
Topic: [Solved] CEGUI vs DLL vs Executable vs Windows XP
Replies: 13
Views: 1863

Re: CEGUI vs DLL vs Executable vs Windows XP

appreciate them answers, Ident :) In that case I dont see at all how the threadsafeinit flag can possibly be related and can possibly fix your issue. Function-scope statics are perfectly legal, well-defined, and were used in almost every project I have ever participated. This might be true, but not ...
by uvhannes
Sat Aug 19, 2017 10:38
Forum: Help
Topic: [Solved] CEGUI vs DLL vs Executable vs Windows XP
Replies: 13
Views: 1863

Re: CEGUI vs DLL vs Executable vs Windows XP

Hmm, so we are not using multiple threads actually. The game runs within on thread only and the thread also loads the library. We do have one worker thread running to remove hooks we placed tho. I do not see how this is related tho. Thanks for checking into that man, appreciate it. I'll spend more t...
by uvhannes
Fri Aug 18, 2017 12:31
Forum: Help
Topic: [Solved] CEGUI vs DLL vs Executable vs Windows XP
Replies: 13
Views: 1863

Re: CEGUI vs DLL vs Executable vs Windows XP

as an example: static const String type_default("BasicImage"); const String& type(attributes.getValueAsString(ImageTypeAttribute, type_default)); const String& name(attributes.getValueAsString(ImageNameAttribute)); will not work on windows xp without the threadSafeInit flag (in DLL...
by uvhannes
Fri Aug 18, 2017 12:29
Forum: Help
Topic: [Solved] CEGUI vs DLL vs Executable vs Windows XP
Replies: 13
Views: 1863

Re: CEGUI vs DLL vs Executable vs Windows XP

so, this was a tricky one. This is actually vs2015 related! The way that CEGUI works with STATIC function scope variables is not supported < VISTA. Thread Local Storage variables wont get initialized properly. Now with vs2015 MS introduced threadSafeInit as a compiler flag and set to to enabled by d...
by uvhannes
Wed Aug 16, 2017 09:09
Forum: Help
Topic: [Solved] CEGUI vs DLL vs Executable vs Windows XP
Replies: 13
Views: 1863

[Solved] CEGUI vs DLL vs Executable vs Windows XP

Hi, 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. ...

Go to advanced search