for those having problem in connecting to my sql using borland c++

for those having problem in connecting to my sql using borland c++

am 18.04.2005 21:55:53 von mohamed ali

------=_NextPart_000_00AB_01C54533.430C5EE0
Content-Type: text/plain;
charset="windows-1256"
Content-Transfer-Encoding: quoted-printable

for those having problem in connecting to my sql using borland c++
>i m using Borland C++ ver 6.0 and i m trying to connect to mysql ver =
4.01
>when i place a connection control in my form it give me the following =
error message unable to load libmysql.dll
>copying this dll to system 32 doesn't work=20
>copying old ver 3.1 of this dll also dosn't work=20
>i have see my question in many forums and news group=20
>but never see an answer=20
>any one can help me=20
> also i wont to tell yo that i have try all the following=20
>- putting libmysql.dll in system32=20
>- putting it in my binary folder=20
>- installing mysql client=20
>- eating my self also no connection=20
> =20
==================== ====t=
he solution is ===================3D
this solution written by David Patte
Relative Data, Inc. Astronomy Software
http://relativedata.com/
24hr. Bus. Phone/Fax: 1 (613) 728-4240


When using microsoft dll's in borland, you may have to produce an=20
'import library' to link to. Check your Borland documentation for=20
import libs.

from the command prombet write=20

C:\>implib C:\libmysql.lib C:\libmysql.dll

==================== =====3D=
===================3D
my own advice dont for get to put these file libmysql.dll libmysql.lib
in the write path then compy these file after this command to system32 =
also=20
to the progranm excutable dir and i copy it else where and it work =
finally




------=_NextPart_000_00AB_01C54533.430C5EE0--