Re: Bug in mysql.h header file

2003-12-16 Thread Aftab Jahan Subedar
Hi P Arunachalam , Add this to your program . Make sure header files exist ( its there anyway). #ifdef WIN32 #include #include #pragma warning (disable: 4514 4786) #pragma warning( push, 3 ) #define VERSION "4.1" #endif Enjoy... P Arunachalam wrote: Hi, I have made all the changes

Re: Bug in mysql.h header file

2003-12-16 Thread P Arunachalam
Hi, I have made all the changes suggested by you in VC++ 6.0 i.e., I have inluded the Library file wsock32.lib into the existing library list in 'Project Settings'(Alt-F7') and checked the path setting of mysql header file and library file in Tools -- Options menu's Directory tab. but still it ne

Re: Bug in mysql.h header file

2003-12-16 Thread info
This is not a bug, you need to set your project/programming environment in VC++ to include support for sockets. I haven't written any non socket programs in several years, so it's part of my standard set-up. MySQL is client/server and uses sockets. You do need to link with a socket library. In th