On Tue 19 Aug 2003 11:57, riz...@email.cz wrote:
I am not sure if all compilers add the _ prefix - when i compile mysqlpp
examples, there are no prefixes in object files.
I also link project with library(libmySQL.lib and mysqlplus.lib).
Functions/classes defined in mysqlplus.lib seems to be linked correctly.
I tried to download a new borland line compiler(v5.5) but still the same
problem. I realy do not know what do i wrong.
Is it possible that there is some incompatability with VCL?
The format of libmysql.lib is incorrect,
You need to run the following command on the libmysql.lib
coff2omf.exe libmysql.lib <someoutputfile.lib>
and link against someoutputfile.lib
Also you need to include the following header before the sqlplus.hh
winsock.h
windows.h
iostream
iomanip
Works for me in anyways.
Jason.
____________________
Senior Software Engineer.
CCITriad Europe.
Longford Ireland.