| View previous topic :: View next topic |
| Author |
Message |
David Guest
|
Posted: Thu May 10, 2007 6:02 pm Post subject: Distributing apps using dbExpress |
|
|
Is there a "trick" to distributing an application built using the dbExpress components (using D7 and Oracle 9i)? I can create a "stand alone" (no runtime packages) app that works fine on the development workstation, but doesn't work when executed on a different workstation. |
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Thu May 10, 2007 6:31 pm Post subject: Re: Distributing apps using dbExpress |
|
|
David wrote:
| Quote: |
Is there a "trick" to distributing an application built using the
dbExpress components (using D7 and Oracle 9i)? I can create a "stand
alone" (no runtime packages) app that works fine on the development
workstation, but doesn't work when executed on a different
workstation.
|
Did you deploy MIDAS.DLL and the driver DLL with your EXE? See
dbExpress Applications: Deploying in the on-line help.
--
Bill Todd (TeamB) |
|
| Back to top |
|
 |
David Guest
|
Posted: Thu May 10, 2007 9:29 pm Post subject: Re: Distributing apps using dbExpress |
|
|
Hi and thanks for the response. I did not deploy the MIDAS.dll or the dbexpora.dll with my app, but I thought the docs indicated that you didn't necessarily have to on a stand alone exe. I guess I am just not understanding the help document (or perhaps what it means when it says "To deploy dbExpress applications as stand-alone executable files, the dbExpress object files must be statically linked into your executable" I have the midaslib and dbexpora units referenced in my "uses" section. Is there something else needed to get the linker to include all the necessary pieces??
Thanks again
-----------------------
"Bill Todd" <no (AT) no (DOT) com> wrote:
| Quote: | David wrote:
Is there a "trick" to distributing an application built using the
dbExpress components (using D7 and Oracle 9i)? I can create a "stand
alone" (no runtime packages) app that works fine on the development
workstation, but doesn't work when executed on a different
workstation.
Did you deploy MIDAS.DLL and the driver DLL with your EXE? See
dbExpress Applications: Deploying in the on-line help.
--
Bill Todd (TeamB) |
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Fri May 11, 2007 12:38 am Post subject: Re: Distributing apps using dbExpress |
|
|
As the help says, you have two choices. You can either deploy the DLLs
or add the appropriate units to your uses clause. As long as you have
done one or the other you have deployed everything you need to deploy.
--
Bill Todd (TeamB) |
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Fri May 11, 2007 12:40 am Post subject: Re: Distributing apps using dbExpress |
|
|
David wrote:
| Quote: | but doesn't work when executed on a different workstation.
|
Define "doesn't work". If you want help you need to provide a detailed
description of the problem including the exact text of any error
messages and the versions of the software you are using if you are not
using the latest version.
--
Bill Todd (TeamB) |
|
| Back to top |
|
 |
ssamayoa Guest
|
Posted: Sat May 12, 2007 1:46 am Post subject: Re: Distributing apps using dbExpress |
|
|
| Quote: |
Hi and thanks for the response. I did not deploy the MIDAS.dll or the
dbexpora.dll with my app, but I thought the docs indicated that you didn't |
Docs could be confusing:
You can deploy dbExpress applications without dbexpXXXX.dll linking the
driver using the apropiate unit in your source code. But dbExpress doesnt
implies TClientDataSet support neither the opposite.
For example, I use IBX with TClientDataSet then I must install midas.dll
in the client computers.
Bottom line:
If you use TClientDataSet you must include midas.dll.
Including dbexpXXXX.dll depends on if you included the respetive unit or
not in your source code.
Regards.
--- posted by geoForum on http://delphi.newswhat.com |
|
| Back to top |
|
 |
|