uses-clause

Adding a unit to the Interface uses clause rather than the Implementation uses clause

When using Delphi: If I have a unit that is filled with constants like... Unit AConsts; Interface Const Const1 : WideString = 'Const1'; Const2 : WideString = 'Const2'; Const3 : WideString = 'Const3'; Const4 = 100; Const5 = 100; Implementation end. and I want to use this unit from another unit, is there any dif...

How can I identify and get rid of unused units in the "uses clause" in Delphi 7 ?

This should reduce the executable size quite a bit in some of my very large projects. I am sure there would be other benefits too. EDIT: Is there perhaps a utility that will scan the project and remove redundant ones automatically? I do have 100s of projects and "automatic remove" would be first prize although if I have to I will go the...

Uses with unit file path in unit file

Hello. I have problem. I ll try to explain it. I have a unit which has a class and may will have new functions. D3BF4E849ACC45249B990F802EFB1F15\UnitFile1.pas 8DC8977E7A7B469AACFE3CC77CA7075E\UnitFile1.pas Both of them have same class: IClass_1 = class Im using code numbers for different versions of this file. Another unit file (Uni...

How do I view the hierarchy of which Unit USES another? (Delphi)

There is a large project, and I need to see the hierarchy of Units which each file references in it's USES clause. ex. Project Source (program.dpk) HelperUnit Forms ThirdPartyUnit MyUtils MyConsts MyDownload TPShellShoc...