Solved

build

Posted on 2004-04-08
4
153 Views
Last Modified: 2010-04-05
Hello,

When i choose build (from main menu ) project / build MyProject

The result is  that delphi compile the entire units include very basic units
like class,forms etc , why ? i only need to compile all the units that are
in my project (and not the basic/ components units) ?

thank you
Asi
0
Comment
Question by:asi
  • 2
4 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 30 total points
ID: 10782745
build compiles all sources which are affected,
--> don't forget the dependencies
0
 

Author Comment

by:asi
ID: 10782786
but why it should build the forms,class units that are not in the project - they are only the uses line
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 10782850
>they are only the uses line

which causes that they are also in your project
0
 
LVL 3

Expert Comment

by:Aliev
ID: 10785003
Your project need   Forms,class and other units . Because your application uses them.
You can Build application without these units. But you will need copy any dll and bpl`s (contains units) near your exe file when you will copy your program to other computer.

To do that you want. On 'Component' menu click to 'Install Packages' there check the chekcbox 'Build with runtime packages'.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

679 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