Why is my C++ Builder program so much smaller than my Delphi program?

Today I downloaded the Delphi and C++ Builder XE trial.

I was worried about the size of Delphi exes for a long time (in XE it is 850 kb), and I thought, why such a big size of app even it is just has a blank form?

But on C++ Builder XE the minimum size is just 120 kb! Even if I included a Delphi form in the C++ project, there was still no major size difference.

How is C++ Builder able to make a small exe with virtually the same contents? And why can't Delphi do it?

Answers


Maybe the C++ Builder exe you created is dependent on runtime packages such as vcl60.bpl and rtl60.bpl? This would explain the smaller size.


Need Your Help

Get the default height of a scroll bar

html css

What is the default height of a scroll bar(Horizontal)?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.