Another driver problem
Posted by: Nikola Markovic
Date: December 08, 2011 01:50PM


/* ***************************** */
Driver *driver;
Connection *con;

try {
driver = sql::mysql::get_driver_instance();

con = driver->connect(url, user, password);
// ...
/* ***************************** */

This is where I get the message "Unhandled exception at 0x753c9673 in DBTest.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0043f1a4.."

I've tried it without assigning it to "con", same thing(meaning the problem is with get_driver_instance() ?).

Options: ReplyQuote

Written By
Another driver problem
December 08, 2011 01:50PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.