If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Loading libmysql.dll

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-04-04, 02:16
lutherj lutherj is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
Angry Loading libmysql.dll

I am trying to use mysql with Borland C++ Builder 6. I am getting the error message "Unable to load libmysql.dll". Has anyone had success resolving this error before?
Reply With Quote
  #2 (permalink)  
Old 02-09-04, 06:12
iatalay iatalay is offline
Registered User
 
Join Date: Feb 2004
Location: Turkey
Posts: 2
Re: Loading libmysql.dll

Quote:
Originally posted by lutherj
I am trying to use mysql with Borland C++ Builder 6. I am getting the error message "Unable to load libmysql.dll". Has anyone had success resolving this error before?
Actually I had the same problem with Delphi 6. As far as I have seen the 4.x mysql client library is not well supported under Delphi and C++ Builder. You can either use the older 3.5.x mysql client library or instead of using DBExpress, try using ADO connections. It works on mysql 4.x client libraries and you dont get that error.

Ilker
Reply With Quote
  #3 (permalink)  
Old 02-09-04, 23:34
lutherj lutherj is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
Re: Loading libmysql.dll

Quote:
Originally posted by iatalay
Actually I had the same problem with Delphi 6. As far as I have seen the 4.x mysql client library is not well supported under Delphi and C++ Builder. You can either use the older 3.5.x mysql client library or instead of using DBExpress, try using ADO connections. It works on mysql 4.x client libraries and you dont get that error.

Ilker
Thanks for your reply. I will have to try that. I have just recenly tried using the C API to connect to a mysql db. However, after finally getting it to compile (had to redefine mysql datatypes..), upon executing the program, I got the error stating that the dll ... mysqlclient... was not the proper format. It had to be OMF format but was COFF. This is a Microsoft to Borland thing. The coff2omf executable did not work. Has anyone had experience with this as well??? Guess I'll try ADO.
lj
Reply With Quote
  #4 (permalink)  
Old 02-10-04, 08:35
calum433 calum433 is offline
Registered User
 
Join Date: Jan 2004
Location: Aberdeen
Posts: 12
Hey lutherj,

how did you get your C progs to compile? I'm having problems compiling mine on a new host. I get strmov undefined errors.
Did you get that?

strmov is defined in the mystring.h file and I'm sure I've got the
appropriate includes as the program compiled successfully on
a previous host and I haven't changed anything other than
finding myself on a new server. Anyone else got any ideas?

cheers
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On