Subj : Re: Throwing exceptions in a thread To : borland.public.cpp.borlandcpp From : Jogy Date : Tue Feb 03 2004 10:20 am Alan Jones wrote: > Using C++ 5.02, I use a class derived from TThread. Everything works fine > until I throw an exception in the thread. The exception class constructor > gets called as it should but when the constructor returns, the program > crashes -- it tries to write into location zero. > > When I use the exact same functions but called from the main thread with the > same exception condition, I end up in the appropriate catch() clause. > > Is there some caution I must use when throwing exception in a spun-off > thread? > > Alan > > Hello, I don't know if that may be the cause, but there is a bug in the exception handling of BC5.02. Check the information and links on this page: http://www.sirma.bg/Jogy/bc5x.html Jogy .