Articles

Metasploit Framework Windows Tutorial
Remote Desktop Connection
Windows Processes That May Be Dangerous
How-To use NetCat a Tutorial
Common Linux Commands
Common Ports
Netcat Commands
HTTP Response Codes
War-Google Hack Terms
Wardriving
Avoiding Social Engineering and Phishing Attacks
Intrusion Detection on Linux
Linux Intrusion Detection
Penetration Testing Guide
Penetration Testing Tools
Social Engineering Fundamentals, Part I: Hacker Tactics
Social engineering (computer security)
The Psychology of Social Engineering

The Archives

General GSO
GovernmentSecurity.org News & Suggestions
In The News
Open Topic
General Security Information
Trash Can
Exploit & Vulnerability Mailing List Archives
Trial Member Forum
Product and Program Reviews GSO Tutorials
System Security
Windows Systems
Beginners Section
Linux & Unix Systems
File Downloads
Exploit Research & Discussion Trojan & Virus Errata
Networking Security / Firewall / IDS / VPN / Routers
System Hardening
E-Mail Security
Wifi Security
Trial Member Uploads
Upload discovered Trojans & Mal ware
GSO Programming Section
C , C++ , VC++
Visual Basic.NET
Perl /CGI
Java/Javascript
PHP/XML/ASP/HTML
Assembly + Other
The Cork Board
Network Security Consultant Directory
Network Security Jobs
The Archives
Encryption Information
General Network Security
Internet Anonymity
HTTP Protocol Security
Linux Security
MS IIS Information
Exploit Articles
Programming / Tool Design
GSO Software Projects
Public Downloads
Microsoft Security Questions and Papers

Full Version: Big Files In Delphi
belgther
When programming in Delphi, I noticed that it creates relatively huge files(about 300kb, if you only have a simple form) which can be quite annoying... Is there a way to make the compiled EXE smaller? Because when compiling them with C output executables, it varies pretty much (As far as I know, about 21 kb in normal compiling options)
And If it's not possible, why is it not possible?
I would be grateful if you would help me...
B3T4
not sure what ya making , but if your are making console apps u can loos lots of the uses.
Besides u could pack them using simple packer like upx
belgther
QUOTE(B3T4 @ May 9 2005, 05:22 PM)
not sure what ya making , but if your are making console apps u can loos lots of the uses.
Besides u could pack them using simple packer like upx
*



Well, you can just try it:
create a standard application project in delphi, and compile it, and search for project1.exe
Besides, i already know that packers can make a code smaller... But my problem is making them smaller without packing...
B3T4
then u should, like i said loos some of the uses

uses sysutils, windows, graphics, sockets;

u could loos graphics for starters if u are making a console app. I use a fixed up version my self for sockets which also makes it a bit smaller but looses some of its functions. But u shouldnt forget that delphi hasnt been made to be small, if u want small files u should learn ASM.
FTPServerTools
This is because delphi adds the vcl's. Try finding the kol libraries (key objects libraries) and compile with those instead of the usual load of vcl's This should reduce your exe's. Alternatively you could use delphi 2 which produces smaller exe's as well.
belgther
http://www.d-tnt.co.uk/readArticle.asp?id=.../delphitips.asp
I found this link now, while googling for key objects libraries, it has more than the answer I was looking for...
But I am also grateful to all people who replied here and helped me...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2005 Invision Power Services, Inc.