Solved

Building a "self-running" .exe with Delphi3 / C++ Builder3

Posted on 1998-04-23
5
212 Views
Last Modified: 2010-04-06
Hi Experts out there!

We just updated to Borland Delphi3 and Borland C++ Builder3.
We have some problems on building an exe. We use the
now included Active-X Controls for Internet-Transfer.
The Problem is, that the final .exe requires some more
dlls on the Target-System. We tried to include these files
in the project-options - but we had no success. Is it still
possible to build a single .exe - file with Version 3 of Delphi or C++ Builder, and if, how can we manage this?  

Thank You
0
Comment
Question by:Mittelberger
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:freter
ID: 1336320
Yes, it is still possible to build monolithic .exe files.
Go to the project options dialog, switch to the tab 'packages' and turn OFF the checkbox
'compile with runtime packages'. Delphi will then create solid .exe files that do not need the runtime .dlls any more.

Cheers, Freter
0
 

Author Comment

by:Mittelberger
ID: 1336321
Dear freter!

Your solution is valid, as long as You use the standard-components. But as I mentioned above, we use the Internet-Controls (TCP, UDP, SMTP, POP3) where Your solution fails.
So Your answer is correct in principle, but does not fit to
our requirements. We have also tried to add these component-libraries to the edit-line beneath the check-box - but the exe keeps it´s size exactly and still requires some dlls. We are nearly getting crazy about that...

Thank You!

0
 
LVL 4

Accepted Solution

by:
d003303 earned 50 total points
ID: 1336322
Yo,
if you use the Internet ActiveX-Controls, they have to be included in your apps setup. You will have to
- copy them to your program directory
- register them in the system registry by calling "rundll32.exe ProgramPath\ActiveXName.ocx DllRegisterServer". If your target system is Win95, replace rundll32.exe with rundll.exe

Slash/d003303
0
 

Author Comment

by:Mittelberger
ID: 1336323
Dear d003303!

We have tested Your solution, but unfortunately we had no success. If You tell us Your email-address, we can send You a copy of our test-exe (built with Delphi3.0), so You can give it a try.

Our email-address is: sfgb2@mail.axford.co.uk

Thank You!
0
 
LVL 4

Expert Comment

by:d003303
ID: 1336324
Hi there,
I tried to send you a mail, but it was returned because it exceeded the maximum number of hops. I cannot modify the hop count on our mailing system, so just drop me the mail at
andreas.hahn@sap-ag.de
Please include the ZIPped app and a text file with all uses clauses in your project files. This will help me finding dependencies. NO additional source, just the uses clauses.

Regards,
Slash/d003303
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi Firemonkey Need Sample for Online Shopping Example. 2 145
Print Graphic and Text to Epson TM-T88v 12 264
CheckListBox usage 3 59
update joined tables 2 48
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question