 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Georgi Kyulhanov Guest
|
Posted: Thu Dec 04, 2003 9:20 pm Post subject: mySQL and BCC55 |
|
|
Hi
I try to compile simple program for connect to mySQL using C API and libraries including in mySQL packet. But mySQL .lib files is compiled with MS Visual C++ compilator. How I can compile my programs with BCC55 free comand line tools. ?
Excuse me for my bad English.
Tanks.
(Pomognete bulgari)
|
|
| Back to top |
|
 |
Bob Gonder Guest
|
Posted: Fri Dec 05, 2003 3:33 am Post subject: Re: mySQL and BCC55 |
|
|
Georgi Kyulhanov wrote:
| Quote: | I try to compile simple program for connect to mySQL using C API and libraries including in mySQL packet. But mySQL .lib files is compiled with MS Visual C++ compilator. How I can compile my programs with BCC55 free comand line tools. ?
|
This file on the MySql site might help.
mysql-libs-3.23.36-borland.zip (476.7K, modified: 2001/04/1
http://www.mysql.com/downloads/os-win32.html
From this page:
http://www.mysql.com/doc/en/Windows_client_compiling.html
"You can either link your code with the dynamic `libmysql.lib'
library, which is just a wrapper to load in `libmysql.dll' on demand,
or link with the static `mysqlclient.lib' library. "
You say the libs are in MS format (which we can't use)
So, you can do your own "wrapper" for the libmysql.dll
Use implib to creat a linking lib for the dll.
I suppose you could also download the source and recompile with
Borland.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|