BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mySQL and BCC55

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools)
View previous topic :: View next topic  
Author Message
Georgi Kyulhanov
Guest





PostPosted: Thu Dec 04, 2003 9:20 pm    Post subject: mySQL and BCC55 Reply with quote




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





PostPosted: Fri Dec 05, 2003 3:33 am    Post subject: Re: mySQL and BCC55 Reply with quote



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/1Cool
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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.