Solved

Delphi compiler: how to find used units

Posted on 2012-03-23
2
519 Views
Last Modified: 2012-03-23
I have a strange problem: I generate a new DXE2-Project and add a single unit to it, which I used in another project. Compiling the project opens another unit with an error. My problem: I can not find out whit this second unit is compiled. I can not find it in any uses-section. Is there a way that shows me the tree with the units (sorted by the way the compiler compiles them)? So I could find that unit in the right uses-section.

Thanks, Peter
0
Comment
Question by:formi
2 Comments
 
LVL 4

Accepted Solution

by:
MichaelStaszewski earned 500 total points
ID: 37759434
Check your project source... Project menu|View Source. Is it listed there? You can also rename the mystery unit file and build. It should break on any place referencing it.
0
 

Author Closing Comment

by:formi
ID: 37759446
Great! Renaming the unit showed me the unit! Thanks for this idea - simple but clever!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
proper way to parse url in delphi 2 162
Delphi Form ownership 4 72
how to update exe applicatio from internet ? 6 67
how can i search if string exist in array ? 3 49
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now