Vicente wrote:
Hello,
Yesterday I asked for some help to create a program in C++ integrated with
MySQL. Now I have installed MySQL 4.1.11 and I suppose I will need to
include mysql.h in my code. But this header use 'libmysql.dll', where I have
to define the path in Visual C++? Or where I have to copy this file?
Hi,

this is more how to add dependancy in your vc++ project than a mysql question ;)
in project settings/link, add libmysql.lib in the line for additional object/modules.
Then make sure libmysql.dll is in your path,
(and the header mysql.h doesn't use libmysql.dll, but the .dll is needed by the linker)
HIMH


--
Philippe Poelvoorde
COS Trading Ltd.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to