?
Solved

Delphi compiler: how to find used units

Posted on 2012-03-23
2
Medium Priority
?
528 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
[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
2 Comments
 
LVL 4

Accepted Solution

by:
MichaelStaszewski earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

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