> The only safe way to use them is when you control not only "sender" and > "receiver" but also all the code paths inbetween - i.e. basically only > within the same function or at least not from a deeply nested function. > And in that cases using a singular return value does the trick as well. > > Andre' >
I did something like this for Buffer::loadLyxFile(). Where would you advice to put the UI then ? I can now spit out a lot of error messages according to the number the functions comes up with. In Buffer ? In buffer_funcs ? In GuiView ? Vincent