Well my problem is pretty simple, i got the following includes:
#include "stdafx.h"
#include "my_global.h"
#include "mysql.h"
#include "ServerManager.h"
#include "GamePlay.h"
#pragma comment(lib, "libmysql.lib")
And i get the WARNING (which is pretty annoying):
1>c:\program files\mysql\connector c 6.0.2\include\config-win.h(24): warning C4005: '_WIN32_WINNT' : macro redefinition
1>          c:\program files\windows kits\8.0\include\shared\sdkddkver.h(195) : see previous definition of '_WIN32_WINNT'
So i check stdafx includes targetver.h where _WIN32_WINNT is defined, and my_global.h includes also _WIN32_WINNT, what can i do about this?
This is exactly the conflicting part of my_global.h file wich is part of the MySQL C library:
/* Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; version 2 of the License.
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
/* Defines for Win32 to make it compatible for MySQL */
#define BIG_TABLES
/* 
  Minimal version of Windows we should be able to run on.
  Currently Windows 2000
*/
#define _WIN32_WINNT     0x0500
I am kind of new regarding those including problems, thanks !
 
     
     
    