[freetds] Error/Message handling techniques in C++
Sharan Rao
sharanrao at gmail.com
Thu Nov 29 15:54:02 EST 2007
Hi,
I am using db-lib alongwith C++ code. Are there any alternatives for error
retrieval / message retrieval other than using callback functions ?
Using callbacks is not really enjoyable in C++ code. As the callback interface
is not accessible, AFAIK, I'll have to resort to some global variable stuff
:( ( Any better methods ? )
I found a PHP/Sybase implementation of message handling.
http://in2.php.net/manual/en/function.sybase-get-last-message.php
Does such a thing exist in freetds too ? Have I missed it ? ( Hopefully :P )
Cheers!
Sharan Rao
More information about the FreeTDS
mailing list