logo       

Re: Exception of type std::length_error: msg#00038

db.mysql.c++

Subject: Re: Exception of type std::length_error

Warren Young a écrit :
Mathieu Pagé wrote:

I looked at simple.cpp and tried to do the same thing in my code (using "res.fetch_row()") and I got the same error.

Yes, I realized after I sent it that the simple*.cpp examples all turn off exceptions. I didn't post about that because I wasn't sure it mattered, and didn't have time to test it. Sorry for the hassle.

Hi,

Thanks anyway for trying to help. It was appreciated.

It turns out I was not using the right mysql++.lib files. I was using a release one to link into a debug executable. That's what caused the exception, probably because the object structures were differents between a realease and debug build.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise