Subj : Re: C++ Exception Handling Problem To : borland.public.cpp.borlandcpp From : AD Date : Wed Jul 28 2004 09:58 am Before I write a demo, maybe a few more details may help: 1. The same code when compiled as 16bits runs OK. 2. Unchecking "C++ Options/Exception Hadling/Enable destructor cleanup" solves the problem(32bits). 3. I'm using BC++ 5.02. Thanks. "Thomas Maeder [TeamB]" wrote in message news:m24qnuoghw.fsf@madbox2.local... > "AD" writes: > > > The code: > > f1(){ > > ... > > string s; > > throw xmsg("Error"); > > ... > > } > > > > f2(){ > > try{ > > f1(); > > } > > catch(...){} > > } > > > > cased a system run-time error (32 bits). > > What have I done wrong?? > > That's hard to tell from the information you provide. > > Please post the minimal, but complete program that demonstrates the > behavior that you are seeing. Which version of Borland C++ are you using? .