alan birtles - 2009-07-31

I have a test which is throwing an exception in the static class initialisation. This causes a call to DynamicLibraryManager::getLastErrorDetail. This fucntion fails to check the result of FormatMessageA and the function is then trying to allocate lpMsgBuf (which is null) to a std::string. This causes a very unhelpful "invalid null pointer" error in visual studio.