 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Marcel Guest
|
Posted: Wed Dec 17, 2003 8:43 am Post subject: How to include libmysql.dll in exe |
|
|
Hello all,
I finally made it to setup a connection to a MySql database. It works fine
on my localhost. Now i try to use it (the exe) on another PC in my network
but than it says... unable to load libmysql or something.... so i think the
mysql lib is not included in the exe.... i was trying to do this in the
compiler options menu but i don't know how to explicit tell the compiler and
linker to link the mysql lib in my exe...
Can someone help me out?
regards,
Marcel
|
|
| Back to top |
|
 |
Jayme Jeffman Filho Guest
|
Posted: Thu Dec 18, 2003 12:27 am Post subject: Re: How to include libmysql.dll in exe |
|
|
Hi Marcel,
You should copy the libmysql.dll to the client workstation along with your application or configure the project options not to use prelinked libraries. The exe file will grow up .
HTH
Jayme.
"Marcel" <neegeenspam (AT) hotentottententententoonstellingen (DOT) nl> wrote
| Quote: | Hello all,
I finally made it to setup a connection to a MySql database. It works fine
on my localhost. Now i try to use it (the exe) on another PC in my network
but than it says... unable to load libmysql or something.... so i think the
mysql lib is not included in the exe.... i was trying to do this in the
compiler options menu but i don't know how to explicit tell the compiler and
linker to link the mysql lib in my exe...
Can someone help me out?
regards,
Marcel
|
|
|
| Back to top |
|
 |
Marcel Guest
|
Posted: Thu Dec 18, 2003 8:44 am Post subject: Re: How to include libmysql.dll in exe |
|
|
Yes i know but i want to make a standalone application ...
Marcel
"Jayme Jeffman Filho" <jjeffman (AT) cpovo (DOT) net> schreef in bericht
news:3fe0f458 (AT) newsgroups (DOT) borland.com...
Hi Marcel,
You should copy the libmysql.dll to the client workstation along with your
application or configure the project options not to use prelinked libraries.
The exe file will grow up .
HTH
Jayme.
"Marcel" <neegeenspam (AT) hotentottententententoonstellingen (DOT) nl> wrote in
message news:3fe016b6 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello all,
I finally made it to setup a connection to a MySql database. It works fine
on my localhost. Now i try to use it (the exe) on another PC in my network
but than it says... unable to load libmysql or something.... so i think
the
mysql lib is not included in the exe.... i was trying to do this in the
compiler options menu but i don't know how to explicit tell the compiler
and
linker to link the mysql lib in my exe...
Can someone help me out?
regards,
Marcel
|
|
|
| Back to top |
|
 |
Matt Guest
|
Posted: Thu Dec 18, 2003 10:09 am Post subject: Re: How to include libmysql.dll in exe |
|
|
Re-read Jayme answer (2nd part):
| Quote: | You should copy the libmysql.dll to the client workstation along with your
application or configure the project options not to use prelinked
libraries.
The exe file will grow up .
|
|
|
| Back to top |
|
 |
Jayme Jeffman Filho Guest
|
Posted: Thu Dec 18, 2003 12:58 pm Post subject: Re: How to include libmysql.dll in exe |
|
|
Hi Marcel,
Open the Project->Options editor. Select the "Linker" tab. Uncheck the "use dynamic RTL" option. Select the "Pakages". Uncheck the "Build with runtime paclages" option.
This procedure will force your application to hold all the resurces it needs to run itself. Try it.
HTH
Jayme.
"Marcel" <neegeenspam (AT) hotentottententententoonstellingen (DOT) nl> wrote
| Quote: | Yes i know but i want to make a standalone application ...
Marcel
"Jayme Jeffman Filho" <jjeffman (AT) cpovo (DOT) net> schreef in bericht
news:3fe0f458 (AT) newsgroups (DOT) borland.com...
Hi Marcel,
You should copy the libmysql.dll to the client workstation along with your
application or configure the project options not to use prelinked libraries.
The exe file will grow up .
HTH
Jayme.
"Marcel" <neegeenspam (AT) hotentottententententoonstellingen (DOT) nl> wrote in
message news:3fe016b6 (AT) newsgroups (DOT) borland.com...
Hello all,
I finally made it to setup a connection to a MySql database. It works fine
on my localhost. Now i try to use it (the exe) on another PC in my network
but than it says... unable to load libmysql or something.... so i think
the
mysql lib is not included in the exe.... i was trying to do this in the
compiler options menu but i don't know how to explicit tell the compiler
and
linker to link the mysql lib in my exe...
Can someone help me out?
regards,
Marcel
|
|
|
| Back to top |
|
 |
Marcel Guest
|
Posted: Thu Dec 18, 2003 1:45 pm Post subject: Re: How to include libmysql.dll in exe |
|
|
I am not sure but i think i have done this allready because i allways do
this but i will have a try and i will let you know ok?
Thanks for your help Jayme...
Marcel
"Jayme Jeffman Filho" <jjeffman (AT) cpovo (DOT) net> schreef in bericht
news:3fe1a462 (AT) newsgroups (DOT) borland.com...
Hi Marcel,
Open the Project->Options editor. Select the "Linker" tab. Uncheck the "use
dynamic RTL" option. Select the "Pakages". Uncheck the "Build with runtime
paclages" option.
This procedure will force your application to hold all the resurces it needs
to run itself. Try it.
HTH
Jayme.
"Marcel" <neegeenspam (AT) hotentottententententoonstellingen (DOT) nl> wrote in
message news:3fe16891$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Yes i know but i want to make a standalone application ...
Marcel
"Jayme Jeffman Filho" <jjeffman (AT) cpovo (DOT) net> schreef in bericht
news:3fe0f458 (AT) newsgroups (DOT) borland.com...
Hi Marcel,
You should copy the libmysql.dll to the client workstation along with your
application or configure the project options not to use prelinked
libraries.
The exe file will grow up .
HTH
Jayme.
"Marcel" <neegeenspam (AT) hotentottententententoonstellingen (DOT) nl> wrote in
message news:3fe016b6 (AT) newsgroups (DOT) borland.com...
Hello all,
I finally made it to setup a connection to a MySql database. It works
fine
on my localhost. Now i try to use it (the exe) on another PC in my
network
but than it says... unable to load libmysql or something.... so i think
the
mysql lib is not included in the exe.... i was trying to do this in the
compiler options menu but i don't know how to explicit tell the compiler
and
linker to link the mysql lib in my exe...
Can someone help me out?
regards,
Marcel
|
|
|
| Back to top |
|
 |
Marcel Guest
|
Posted: Thu Dec 18, 2003 10:03 pm Post subject: Re: How to include libmysql.dll in exe |
|
|
Hi Jayme,
Your answer did not do it.
I am lost.... my application works fine on my laptop (where also the borland
ide is so also all required dll's etc) but when i try my application on
another pc in my network it keeps on saying 'unable to load dbexpmysql.dll'
and 'unable to load libmysql.dll). As soon as i place this dll's on that pc
then it works ok but so i did not succeed to do what i want (to compile and
link a standalone application that doesn't complain about missing dll's). I
am still looking for the solution but i can't just figure it out because
there is not that much information about this in the borland help files...
regards,
Marcel
"Jayme Jeffman Filho" <jjeffman (AT) cpovo (DOT) net> wrote
Hi Marcel,
Open the Project->Options editor. Select the "Linker" tab. Uncheck the "use
dynamic RTL" option. Select the "Pakages". Uncheck the "Build with runtime
paclages" option.
This procedure will force your application to hold all the resurces it needs
to run itself. Try it.
HTH
Jayme.
"Marcel" <neegeenspam (AT) hotentottententententoonstellingen (DOT) nl> wrote in
message news:3fe16891$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Yes i know but i want to make a standalone application ...
Marcel
"Jayme Jeffman Filho" <jjeffman (AT) cpovo (DOT) net> schreef in bericht
news:3fe0f458 (AT) newsgroups (DOT) borland.com...
Hi Marcel,
You should copy the libmysql.dll to the client workstation along with your
application or configure the project options not to use prelinked
libraries.
The exe file will grow up .
HTH
Jayme.
"Marcel" <neegeenspam (AT) hotentottententententoonstellingen (DOT) nl> wrote in
message news:3fe016b6 (AT) newsgroups (DOT) borland.com...
Hello all,
I finally made it to setup a connection to a MySql database. It works
fine
on my localhost. Now i try to use it (the exe) on another PC in my
network
but than it says... unable to load libmysql or something.... so i think
the
mysql lib is not included in the exe.... i was trying to do this in the
compiler options menu but i don't know how to explicit tell the compiler
and
linker to link the mysql lib in my exe...
Can someone help me out?
regards,
Marcel
|
|
|
| Back to top |
|
 |
Ron Sawyer Guest
|
Posted: Thu Dec 18, 2003 11:48 pm Post subject: Re: How to include libmysql.dll in exe |
|
|
A dll is a Dynamic Link Library. The nature of which is you can't link
it statically. Unless you have a static form of the libmysql library,
you cannot do what you wish to do.
Marcel wrote:
| Quote: |
Yes i know but i want to make a standalone application ...
Marcel
"Jayme Jeffman Filho" <jjeffman (AT) cpovo (DOT) net> schreef in bericht
news:3fe0f458 (AT) newsgroups (DOT) borland.com...
Hi Marcel,
You should copy the libmysql.dll to the client workstation along with your
application or configure the project options not to use prelinked libraries.
The exe file will grow up .
HTH
Jayme.
|
|
|
| Back to top |
|
 |
Jayme Jeffman Filho Guest
|
Posted: Fri Dec 19, 2003 2:14 pm Post subject: Re: How to include libmysql.dll in exe |
|
|
Hi Marcel,
Well, my knowledge ends here. I hope someone else can help you.
Jayme.
"Marcel" <info (AT) xxxremovethisxxxmediaquest (DOT) nl> wrote
| Quote: | Hi Jayme,
Your answer did not do it.
I am lost.... my application works fine on my laptop (where also the borland
ide is so also all required dll's etc) but when i try my application on
another pc in my network it keeps on saying 'unable to load dbexpmysql.dll'
and 'unable to load libmysql.dll). As soon as i place this dll's on that pc
then it works ok but so i did not succeed to do what i want (to compile and
link a standalone application that doesn't complain about missing dll's). I
am still looking for the solution but i can't just figure it out because
there is not that much information about this in the borland help files...
regards,
Marcel
"Jayme Jeffman Filho" <jjeffman (AT) cpovo (DOT) net> wrote in message
news:3fe1a462 (AT) newsgroups (DOT) borland.com...
Hi Marcel,
Open the Project->Options editor. Select the "Linker" tab. Uncheck the "use
dynamic RTL" option. Select the "Pakages". Uncheck the "Build with runtime
paclages" option.
This procedure will force your application to hold all the resurces it needs
to run itself. Try it.
HTH
Jayme.
"Marcel" <neegeenspam (AT) hotentottententententoonstellingen (DOT) nl> wrote in
message news:3fe16891$1 (AT) newsgroups (DOT) borland.com...
Yes i know but i want to make a standalone application ...
Marcel
"Jayme Jeffman Filho" <jjeffman (AT) cpovo (DOT) net> schreef in bericht
news:3fe0f458 (AT) newsgroups (DOT) borland.com...
Hi Marcel,
You should copy the libmysql.dll to the client workstation along with your
application or configure the project options not to use prelinked
libraries.
The exe file will grow up .
HTH
Jayme.
"Marcel" <neegeenspam (AT) hotentottententententoonstellingen (DOT) nl> wrote in
message news:3fe016b6 (AT) newsgroups (DOT) borland.com...
Hello all,
I finally made it to setup a connection to a MySql database. It works
fine
on my localhost. Now i try to use it (the exe) on another PC in my
network
but than it says... unable to load libmysql or something.... so i think
the
mysql lib is not included in the exe.... i was trying to do this in the
compiler options menu but i don't know how to explicit tell the compiler
and
linker to link the mysql lib in my exe...
Can someone help me out?
regards,
Marcel
|
|
|
| Back to top |
|
 |
muscatel Guest
|
Posted: Fri Dec 19, 2003 2:31 pm Post subject: Re: How to include libmysql.dll in exe |
|
|
Hello, Marcel.
Wednesday, December 17, 2003 you wrote:
M> Hello all,
M> I finally made it to setup a connection to a MySql database. It
M> works fine on my localhost. Now i try to use it (the exe) on
M> another PC in my network but than it says... unable to load
M> libmysql or something.... so i think the mysql lib is not included
M> in the exe.... i was trying to do this in the compiler options menu
M> but i don't know how to explicit tell the compiler and linker to
M> link the mysql lib in my exe...
Try out microolap DAC4MySQL, it works fine without libmysql.dll.
--
WBR,
muscatel
|
|
| 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
|
|