BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Distributing apps using dbExpress

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
David
Guest





PostPosted: Thu May 10, 2007 6:02 pm    Post subject: Distributing apps using dbExpress Reply with 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.
Back to top
Bill Todd
Guest





PostPosted: Thu May 10, 2007 6:31 pm    Post subject: Re: Distributing apps using dbExpress Reply with quote



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





PostPosted: Thu May 10, 2007 9:29 pm    Post subject: Re: Distributing apps using dbExpress Reply with 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 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





PostPosted: Fri May 11, 2007 12:38 am    Post subject: Re: Distributing apps using dbExpress Reply with quote

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





PostPosted: Fri May 11, 2007 12:40 am    Post subject: Re: Distributing apps using dbExpress Reply with quote

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





PostPosted: Sat May 12, 2007 1:46 am    Post subject: Re: Distributing apps using dbExpress Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.