0
I have this code and is generating error.
#include <stdio.h>
#include <mysql.h>
#include <windows.h>
#include <sys\socket.h>
void main(void)
{
//parâmetros para Conexão
char host[100];
char user[100];
char pass[100];
char db[100];
char script[500];
//variáveis para conexão e manipulação dos objetos do banco
MYSQL *socket;
MYSQL_RES *resp;
MYSQL_FIELD *campos;
MYSQL_ROW linhas;
}
More information:
Compiler: Orwell Dev-C++
Operating System: Windows 8 x64
Mysql x32
You have to add pre-compiled lib
– Tony
@Tony I did it and it didn’t work. Just to check, it’s there in the project parameters, in the field Linker?
– Giovani