void CalError::printLastError() { std::cout << "cal3d : " << getLastErrorDescription(); // only print supplementary information if there is some if(m_strLastErrorText.size() > 0) { std::cout << " '" << m_strLastErrorText << "'"; } std::cout << " in " << m_strLastErrorFile << "(" << m_lastErrorLine << ")" << std::endl; }
String getLastErrorDescription() { return getLastErrorDescription( LANGIDFROMLCID(LOCALE_NEUTRAL) ); }