I'm using visual c++ 6.0 and have the following code:
int main(int argc, char **argv)
const char *p=0;
int i = strlen(p); // this throws exception
cout << exc.what() << endl;
Why when I put a break point inside catch, it never gets there. Vc++ just pops up unhandled exception at address dialog box.
I just want to process any exception here at main and write it to a log.