Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » MySQL with SSGM?
Re: MySQL with SSGM? [message #432963 is a reply to message #432883] Sat, 17 July 2010 13:00 Go to previous messageGo to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma:
General (5 Stars)
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).


http://steamsignature.com/card/1/76561197975867233.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help with sockets
Next Topic: Human Anims
Goto Forum:
  


Current Time: Sun Nov 24 19:47:23 MST 2024

Total time taken to generate the page: 0.00862 seconds