Solved

Delphi compiler: how to find used units

Posted on 2012-03-23
2
521 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
FMX enumerated colours 2 100
Show Listview image from database (String field) 5 127
select query - oracle 16 100
Dynamically Created Query 3 55
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…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

777 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