hi,
i tried to run firs example from tutorial(that i found shit at the
begining), im using VC++ from VS 2003, and last version of mysql
so i put:
------------------------------------------------------------
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
// Connect to the sample database.
mysqlpp::Connection con(false);
if (!con.connect("baza", //db name
"localhost", //host
"root", //user
"pass", //pass
3309) //port
)
{
return 1;
}
return 0;
}
------------------------------------------------------------
in "stdafx.h" is mysql++.h included
ok. what i got is
------------------------------------------------------------
error LNK2019: unresolved external symbol "__declspec(dllimport)
public: virtual __thiscall mysqlpp::Connection::~Connection(void)"
(__imp_??1Connection@mysqlpp@@UAE@XZ) referenced in function _main
baza.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: bool __thiscall
mysqlpp::Connection::connect(char const *,char const *,char const
*,char const *,unsigned int,char,unsigned int,char const *,unsigned
int)" (__imp_?connect@Connection@mysqlpp@@QAE_NPBD000IDI 0I@Z)
referenced in function _main
baza.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
mysqlpp::Connection::Connection(bool)"
(__imp_??0Connection@mysqlpp@@QAE@_N@Z) referenced in function _main
------------------------------------------------------------
there is a lot of it, and i have no clue where mistake can be:|
i know it isn't VC++ mailing list but still

it is first time when
i have such a errors!(and first time that i use mailing list
cheers kamis.
Paweł Kamiński
[kamiseq]
[namiar]
- skype: kamiseq
- gg: 2370552
- www.kamis.jz.pl
- hokam (AT) wp (DOT) pl
[pozdrowienia z krakowa]
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw