Hi,
Bettina Reck wrote:
Next (hopefully not too stupid beginner-) question: when there was
an access violation before why does the program not end in the catch-block
now?
Maybe you had issue with the variable scope:
// error !
        ...initialize
        A       a;
        ...terminate
        return; // destructor A called here, after termination
// correct
        ...initialize
        try {
                A       a;
        } // destructor A called here, before termination
        catch (...) { }
        ...terminate
        return;

Good luck !



Reply via email to