Marcus Meissner wrote: >>Yes, but please don't use the IsBad* functions, use a proper exception >>handler. > Next try, is this what you imagined. The reason for using an exception handler is thread safety - to achieve that you have to put it around the ATOM_AddAtomA call. Felix