Solved

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

Posted on 1998-04-23
5
210 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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 video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now