> I thought APR defaults to multithreaded on Windowsa all the apr.h* files
You are absolutely right. apr.h is auto-generated by the build process so, naturally, Visual Studio totally ignores it during file searches because it iasn't officially included in a project. Outsmarted, yet again, by Redmond. #define APR_HAS_THREADS 0 results in compiler errors in "apr\include\arch\win32\apr_arch_file_io.h", so I don't think I can easily try turning off APR threads in my dev environment. Maybe there's a patch for this too, LOL? 1>D:\workspaces\Unified_3.32_C2.5_V4.8\ADSDK\AmericanDynamicsSDK\MediaKit\3rdParty\3rd_BUILD\log4cxx\_src\apr\include\arch\win32\apr_arch_file_io.h(177): error C2061: syntax error : identifier 'apr_thread_mutex_t' 1>D:\workspaces\Unified_3.32_C2.5_V4.8\ADSDK\AmericanDynamicsSDK\MediaKit\3rdParty\3rd_BUILD\log4cxx\_src\apr\include\arch\win32\apr_arch_file_io.h(183): error C2059: syntax error : '}' and so on. However, this works well: Hierarchy::~Hierarchy() { // LOGCXX-430 #ifndef APR_HAS_THREADS delete loggers; delete provisionNodes; #endif } Happy :) -- Sean On 1 March 2016 at 15:47, Thorsten Schöning <tschoen...@am-soft.de> wrote: > Guten Tag Sean Dynan, > am Dienstag, 1. März 2016 um 15:54 schrieben Sie: > >> So I need to define APR_HAS_THREADS in my project? I don't think it >> is defined by default. > > I thought APR defaults to multithreaded on Windowsa all the apr.h* > files I had a look at define APR_HAS_THREADS by default, so I use it > as well. In your former message, in which you said APR_HAS_THREADS > didn't change anything, did have APR_HAS_THREADS defined only for > log4cxx? In that case you might want to try with APR built with > APR_HAS_THREADS and with an unchanged ~Hierarchy first. Just to see if > this changes things and if it does with my last suggested ~Hierarchy. > > Mit freundlichen Grüßen, > > Thorsten Schöning > > -- > Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de > AM-SoFT IT-Systeme http://www.AM-SoFT.de/ > > Telefon...........05151- 9468- 55 > Fax...............05151- 9468- 88 > Mobil..............0178-8 9468- 04 > > AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln > AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow > -- Sean