Article View: borland.public.cppbuilder.deployment
Article #170Deploying a standalone exe, using TClientDataSet, static linking MidasLib, etc...
From: joan
Date: Sat, 15 Oct 2005 13:24
Date: Sat, 15 Oct 2005 13:24
35 lines
2061 bytes
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.
Technical Details
Message-ID:
<4351016e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!fr.ip.ndsoftware.net!213.239.142.2.MISMATCH!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f8e54,ff691987dd12d7a5,start X-Google-Attributes: gidf8e54,public X-Google-Language: ENGLISH,ASCII-7-bit From: "joan" <jcharmant@hi-jump.org> Newsgroups: borland.public.cppbuilder.deployment Subject: Deploying a standalone exe, using TClientDataSet, static linking MidasLib, etc... Date: Sat, 15 Oct 2005 15:24:16 +0200 Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 82.66.28.6 Message-ID: <4351016e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1129382254 82.66.28.6 (15 Oct 2005 06:17:34 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!fr.ip.ndsoftware.net!213.239.142.2.MISMATCH!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail