> And heres a show stopper. The library should not use cout at all. It > should throw an exception, and let the user interface handle it. > Does this work also, if this library is compiled as a dll ? Do you have an example, how to do for this ? Ralf