Hi Pistike !
1)Plaese try to compile examples given in the same bundle.
2)Always include <windows.h> in your cpp files.
3)Put #include <mysqlplus.hh> as the last include in include list
Best Regards,
Arturs
mailto:aabo...@exchange.telekom.lv
Latvia
-----Original Message-----
From: Kiss Istvan [mailto:ki2...@hszk.bme.hu]
Sent: Wednesday, May 09, 2001 1:50 AM
To: aabo...@exchange.telekom.lv
Subject: mysql++ problem
Hi.
I saw you have designed mysql++.
I 'd like to use mysql calls from my c++ program written in Borland C++
Builder 5.0. I downloaded MYSql++ 1.7.1 for Borland C++ 5.*.
I followed the readme's instructions(i overwrote iterator.h in include/rw
directory. I added to the project mysqlclient.lib.
The problem: My code contains mysql calls, and the linker says:
[Linker Error] Unresolved external '_mysql_init' referenced from
C:\PROGRAM FILES\BORLAND\CBUILDER5\PROJECTS\UNIT1.OBJ
So. What's the solution?
Thanks for your help:
Pistike