Hi Marcel, Michele,
I was able to reproduce the problem.
The troble with the crash on windows is the relationship existing between
Global (now managed) and CorbaDriverFactory (not managed)
I change CorbaDriverFactory to a 'managed object' destructed prior to
Global all is well.
The fact that this does not occur on Linux adds the the notion that
static globals are not having the destructors called otherwise you would
be seeing similar behaviour. Recall this being one of reasons in pursuing
the object manager along with Global destruction hanging on MS.
To implement I had to alter the way global is created. It is now
pre-allocated to ensure it being the first object created as relationships
dictate this.
These changes fix the crash.
Whilst looking into this I have found some more trouble.
MS compiler does not support template friends defined outside of the current
namespace. To workaround this I had to remove Object_Lifetime_Manager from
org::xmlBlaster::util namespace it is now global.