Im currently having some issues with trying to combine these two not been able to find a guide which im able to follow 100% except one where I managed to construct this code from, though its using outdated libaries etc. No compile errors but i get the dreaded
"First-chance exception at 0x7c812a6b in thiswillworkthistime.exe: 0x000006BA: The RPC server is unavailable."
There is only one record with three entry's(columns) currently in my sql database. Here is the code I am using,#include #include #include #include #define
conn = mysql_init(NULL);
mysql_query(conn,"SELECT * FROM users WHERE userid=1");
res_set = mysql_store_result(conn);
the std::cout<<res_set; is only outputting "00000000"
Any help with this code or recommended tuorials to try out would be great thanks.