Thread View: borland.public.cppbuilder.database.dbexpress
4 messages
4 total messages
Started by Marcel
Thu, 18 Dec 2003 22:04
standalone application
Author: Marcel
Date: Thu, 18 Dec 2003 22:04
Date: Thu, 18 Dec 2003 22:04
14 lines
1856 bytes
1856 bytes
Hello all, 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... Can someone help me out please??? Marcel
Re: standalone application
Author: Ron Sawyer
Date: Thu, 18 Dec 2003 23:49
Date: Thu, 18 Dec 2003 23:49
22 lines
2064 bytes
2064 bytes
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: > > Hello all, > > 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... > > Can someone help me out please??? > > Marcel
Re: standalone application
Author: Marcel
Date: Fri, 19 Dec 2003 09:33
Date: Fri, 19 Dec 2003 09:33
44 lines
2598 bytes
2598 bytes
Thanks for your answer, But can't the dll be transformed to an import library. I tried something with implib to generate lib files of these dll's and i added them to the project but they arent't included in my exe however. I am pretty new to C++ and Borland so i might say stupid thing over time. Regards, Marcel "Ron Sawyer" <rsawyer8128@aol.com> schreef in bericht news:3FE23D15.207F6689@aol.com... > 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: > > > > Hello all, > > > > 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... > > > > Can someone help me out please??? > > > > Marcel
Re: standalone application
Author: Micha Nelissen
Date: Fri, 19 Dec 2003 13:39
Date: Fri, 19 Dec 2003 13:39
14 lines
1938 bytes
1938 bytes
Marcel wrote: > But can't the dll be transformed to an import library. I tried something > with implib to generate lib files of these dll's and i added them to the > project but they arent't included in my exe however. Without the import library you wouldn't even have been able to link your application because the symbols would not have been found. When loading the application in memory, the import library searches for the DLL to load the actual functions, the import library is just a 'stub'. HTH, Micha.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads