wot(w)
{
#ifdef WITH_EXCEPTION_BACKTRACE
- bt=Debug::Backtrace::create();
+ bt = Debug::Backtrace::create();
#endif
}
Exception &Exception::at(const std::string &w) throw()
{
- wer=w;
- wot=wer+": "+wot;
+ wer = w;
+ wot = wer+": "+wot;
return *this;
}
buf<<w<<": ";
#ifdef WIN32
char msg[1024];
- if(FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, 0, e, 0, msg, sizeof(msg), 0))
+ if(FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM, 0, e, 0, msg, sizeof(msg), 0))
buf<<msg;
else
buf<<e;