MySQL Forums
Forum List  »  Connector/C++

Re: connect() method crashes 1.0.4-beta
Posted by: Paul Loewen
Date: April 13, 2009 03:00PM

We are having a similar problem. The problem seems to be something to do with compiler packing issue between release and debug versions. We have noticed that std::string variables created in a main test program compiled as "Release" are not passing over to the connector "connect" function properly when the connector DLL is built in Debug. The memory pointers are passed fine but the compilers interpretation of the std::string layout is different between Debug and Release. We are running Visual Studio 2009, win32.

Nick Lloyd (for Paul Loewen)

Options: ReplyQuote

Written By
Re: connect() method crashes 1.0.4-beta
April 13, 2009 03:00PM

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.