We help IT Professionals succeed at work.

compile only one unit

titz
titz asked
on
316 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.
Comment
Watch Question

Commented:
Alt+F9 (or is it Ctrl+F9). One of the two will only compile the current unit you're working on.
Or just go to Project/Compile I'm using Delphi 3

//Viktor

Author

Commented:
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 !!

Commented:
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

Commented:
I use DOS Prompt:
  c:\delphi3\bin\dcc32 thedcu.pas
ok. now.
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
i think thats the solution !
thanks
titz

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.