MySQL Forums
Forum List  »  Connector/C++

Re: Resultset::getString(string) crash.
Posted by: Martin Stein
Date: September 29, 2009 02:01PM

Problem solved! The issue was that the Runtime library specified in my project and the Connector project was different. Mine was /MT and the connector /MD. After I equalized them things worked correctly.
The crash came from the string being allocated by the connector DLL and freed by the project DLL (or the string runtime DLL). SInce both use different heaps corruption ensued.

Options: ReplyQuote


Subject
Views
Written By
Posted
13786
September 29, 2009 01:25PM
Re: Resultset::getString(string) crash.
6033
September 29, 2009 02:01PM


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.