πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.deployment
3 messages
3 total messages Started by joan Sat, 15 Oct 2005 13:24
Deploying a standalone exe, using TClientDataSet, static linking MidasLib, etc...
#170
Author: joan
Date: Sat, 15 Oct 2005 13:24
35 lines
2061 bytes
Hello,
My application is done but I can't deploy it...

I would like to ship a single exe file without midas.dll
I've searched many forums and the newsgroup archive but my problem remains.

Based on the hints in the readme.txt and an ancient message, this is what I
do :

dbxdsnint.lib is added to the project files

in the main.h I have

#include <sqlexpr.hpp>    //only for the call to RegisterDbXpressLib() see
below
#include <dbxdsnint.h>

And in the main form constructor, I have

RegisterDbXpressLib(::getSQLDriverINTERBASE);
RegisterMidasLib(::DllGetDataSnapClassObject);

From what I understand I need to register with any one of the db library to
get the midas code ( here I used Interbase ).
Dynamic RTL and runtime packages are turned off.

It compiles, but I get 4 linker warnings, stating that some functions are
defined in two places.

I get an "Error loading MIDAS.DLL" upon application startup when running on
the test computer which hasn't BCB installed.

Thanks for any new info on that, it's really frustrating to have a finished
program and not to be able to distribute it...
joan.
Re: Deploying a standalone exe, using TClientDataSet, static linking MidasLib, etc...
#171
Author: Juris
Date: Mon, 17 Oct 2005 12:01
13 lines
1503 bytes
You can use installation wizard to make single-executable installation. I 
think that there is no chance to implement third part library in a single 
executable.

You can make installation(self extracting archive) using Winrar.


"joan" <jcharmant@hi-jump.org> wrote in message 
news:4351016e$1@newsgroups.borland.com...
> Hello,
> My application is done but I can't deploy it...
>
> I would like to ship a single exe file without midas.dll
Re: Deploying a standalone exe, using TClientDataSet, static linking MidasLib, etc...
#172
Author: joan
Date: Tue, 18 Oct 2005 10:09
25 lines
1791 bytes
Yes, thanks.
This is what I'm finally doing. I've given up the all-in-one idea, and I'm
placing midas.dll in system32 and register it, on client's computer, during
the installation process with an installation wizard.




"Juris" <juris.vaivods@inbox.lv> a οΏ½crit dans le message de
news:43539152@newsgroups.borland.com...
> You can use installation wizard to make single-executable installation. I
> think that there is no chance to implement third part library in a single
> executable.
>
> You can make installation(self extracting archive) using Winrar.
>
>
> "joan" <jcharmant@hi-jump.org> wrote in message
> news:4351016e$1@newsgroups.borland.com...
> > Hello,
> > My application is done but I can't deploy it...
> >
> > I would like to ship a single exe file without midas.dll
>
>
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