Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

debug library runtime error with visual studio 2005 (no replies)

$
0
0
Hello everyone,

When I link with the debug library and I try to make a connection, I get a runtime error that Visual Studio traces back to the driver->connect statement and that ends in strlen.asm. I can't figure out how to get around it.

Here is the code I am running:

string location = "tcp://127.0.0.1:3306";
string username = "user";
string password = "pass";
connection = driver->connect(location,username,password);

and my relevant project settings are for Additional Include Directories to be C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\lib\debug and to link with mysqlcppconn.lib.

Any ideas on how to resolve this? From what I can tell it is working fine in Release Mode when compiled with the release libraries but I need to be able to debug.

Thank you so much for your time!

Lauren

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>