hello,
I try make a connection with MySql DB , but when i try run this::
#include <stdio.h>
#include <stdlib.h>
#include <mysql.h>
#include <my_global.h>
int main()
{
printf("My SQL Cliet Version:: %s\n", mysql_get_client_info());
return 0;
}
Link Libraries::
mysqlclient.lib
libmysql.lib
Other linker options
`mysql_config --libs`
Serach Directories - >Compiler
\MySQL\MySQL Connector C 6.1\include
\Microsoft Platform SDK\Include\crtCompiler Settings - > Other Options
`mysql_config --cflags`
When i compile withou Microsoft SDK , i get a error "crtdbg.h no such File or Directory" , after that i install and link the reference , but after that i start to get a error when i compile, is a error in stdlib.h " expected ',' or ';' before '__abs64'.
thanks..