Re: Exceptions are not cought

2007-11-18 Thread Stefan Kristensen
What am I doing wrong? Well.. try/catch blocks catch C++ objects (exceptions, strings int's, etc) thrown within the 'try' clause. I imagine that mysql_real_connect() is either a C function or is a C++ function that does NOT throw anything - hence there is nothing to 'catch' and your code cont

Re: Exceptions are not cought

2007-11-17 Thread Larry Smith
Stefan Kristensen wrote: > Hello again :-) > > In my everlasting search for knowledge, I have come to the issue of > databases. I am using MySQL on a FreeBSD box. > > After some issues with include paths and libraries, I managed to get in > contact with the database and retrieve some records so t