MessageBox(("Unable to init xml stream from file : "+std::string((LPCTSTR)fileDlg.GetPathName())).c_str(), "NeL object viewer",MB_OK|MB_ICONEXCLAMATION);
MessageBox(utf8ToTStr(NLMISC::toString("Unable to init xml stream from file: %s",tStrToUtf8(fileDlg.GetPathName()).c_str())), _T("NeL object viewer"),MB_OK|MB_ICONEXCLAMATION);
}
}
else
{
MessageBox(("Unable to open file : "+std::string((LPCTSTR)fileDlg.GetPathName())).c_str(), "NeL object viewer",MB_OK|MB_ICONEXCLAMATION);
MessageBox(utf8ToTStr(NLMISC::toString("Unable to open file: %s",tStrToUtf8(fileDlg.GetPathName()).c_str())), _T("NeL object viewer"),MB_OK|MB_ICONEXCLAMATION);
MessageBox(("Unable to init xml stream from file : "+std::string((LPCTSTR)fileDlg.GetPathName())).c_str(), "NeL object viewer",MB_OK|MB_ICONEXCLAMATION);
MessageBox(utf8ToTStr(NLMISC::toString("Unable to init xml stream from file: %s",tStrToUtf8(fileDlg.GetPathName()).c_str())), _T("NeL object viewer"),MB_OK|MB_ICONEXCLAMATION);
}
}
else
{
MessageBox(("Unable to open file : "+std::string((LPCTSTR)fileDlg.GetPathName())).c_str(), "NeL object viewer",MB_OK|MB_ICONEXCLAMATION);
MessageBox(utf8ToTStr(NLMISC::toString("Unable to open file: %s",tStrToUtf8(fileDlg.GetPathName()).c_str())), _T("NeL object viewer"),MB_OK|MB_ICONEXCLAMATION);
if(!hModule){::MessageBox(NULL,"'hModule' failed at '"__FUNCTION__"' in file '"__FILE__" on line "NL_MACRO_TO_STR(__LINE__),"NeL Export",MB_OK|MB_ICONERROR);return;}
if(!res){::MessageBox(NULL,"'res' failed at '"__FUNCTION__"' in file '"__FILE__" on line "NL_MACRO_TO_STR(__LINE__),"NeL Export",MB_OK|MB_ICONERROR);return;}
if(!res){::MessageBox(NULL,_T("'res' failed at '")__FUNCTION___T("' in file '")__FILE___T(" on line ")NL_MACRO_TO_STR(__LINE__),_T("NeL Export"),MB_OK|MB_ICONERROR);return;}
@ -242,7 +242,7 @@ void CTileSetCont::build (CTileBank& bank, uint tileSet)
if(!dmwarn)
{
dmwarn=true;
MessageBox(NULL,"Tile bank not loaded, or bad tile bank. Missing a displacement tile. Use the tile bank utility to load the correct tilebank.", "NeL Patch Paint",MB_OK|MB_ICONWARNING);
MessageBox(NULL,_T("Tile bank not loaded, or bad tile bank. Missing a displacement tile. Use the tile bank utility to load the correct tilebank."), _T("NeL Patch Paint"),MB_OK|MB_ICONWARNING);