MySQL Forums
Forum List  »  Connector/C++

Re: error C2664: 'sql::PreparedStatement::setString' : cannot convert parameter 2 from 'System::String ^' to 'const std::string &'
Posted by: Ulf Wendel
Date: July 19, 2010 10:59AM

What you are asking is a Windows .NET Framework API question. Question is how to convert a .NET System::String object into std::string class. This is not a driver specific question. Its a C++ language question. Please check the Microsoft documentation. A quick search on MSDN shows http://msdn.microsoft.com/en-us/library/1b4az623%28VS.80%29.aspx

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: error C2664: 'sql::PreparedStatement::setString' : cannot convert parameter 2 from 'System::String ^' to 'const std::string &'
1750
July 19, 2010 10:59AM


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.