Subj : non obsolete equivalent of xmsg? To : borland.public.cpp.borlandcpp From : "Regis St-Gelais" Date : Thu Nov 13 2003 02:34 pm How to modify this code to do the same thing without the xmsg is obsolete warning? It's in a cpp code. try { // some code } catch(xmsg& x) { ::MessageBox(0,x.why().c_str(),"Exception",MB_OK); } Thanks -- Regis St-Gelais .