Re: MySQL with SSGM? [message #432970 is a reply to message #432963] |
Sat, 17 July 2010 13:25 |
|
TechnoBulldog
Messages: 15 Registered: May 2010 Location: Texas
Karma:
|
Recruit |
|
|
danpaul88 wrote on Sat, 17 July 2010 15:00 | mysql_real_escape_string is in the MySQL library, NOT the c++ connector.... to be honest I am not sure why there IS a c++ connector when you can use the mysql library directly in c++ anyway...
The function you want is defined in the MySQL API which is installed alongside MySQL if you select the installation option to do so. You will also need to link to libmysql.dll, which is included with the API.
However I doubt that you will have much success mixing and matching the c++ connector with the raw API functions and you may have to convert your existing code to use the API directly (which, to be honest, is more efficient anyway).
|
I have the C API, but I'm not sure how to use it really. Is there a specific header file I need to include?
Cloud-Zone Gaming. Check it out.
^^ Awesome right?
|
|
|