[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

compile only one unit

Posted on 1998-08-21
7
Medium Priority
?
297 Views
Last Modified: 2010-04-04
Is it possible under D3 only to compile one certain unit (which includes only code, no form) ?
I need this to avoid a bug in D3.
0
Comment
Question by:titz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 1

Expert Comment

by:bsimser
ID: 1337410
Alt+F9 (or is it Ctrl+F9). One of the two will only compile the current unit you're working on.
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1337411
Or just go to Project/Compile I'm using Delphi 3

//Viktor
0
 
LVL 1

Author Comment

by:titz
ID: 1337412
This is not want i want. Project /Compile or Alt F9 compiles all units which have been changed in a project. I will only compile one unit, no project !!
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 3

Expert Comment

by:rickpet
ID: 1337413
No there is no way to compile only one unit...

The closest workaround is to start a new project and include the unit in the uses clause.  Delphi will compile the unit and create a dcu...

Rick

0
 

Expert Comment

by:aiming
ID: 1337414
I use DOS Prompt:
  c:\delphi3\bin\dcc32 thedcu.pas
ok. now.
0
 
LVL 4

Accepted Solution

by:
itamar earned 150 total points
ID: 1337415
Hi titz,

well indeed there is a little trick:

1 - Click in the Open Project button (don't us the Open... menu !)
2 - Change the file type from .dpr to .pas
3 - Open the desired unit
4 - Then compile it !
5 - Be warned to not use others Project commands, like add to project etc...

IHTH
0
 
LVL 1

Author Comment

by:titz
ID: 1337416
i think thats the solution !
thanks
titz

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

649 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