Solved

Custom components issue n. 1

Posted on 2014-01-25
4
624 Views
Last Modified: 2014-01-26
Hi all.

I opened a component I had written in Delphi 7 within Delphi XE3 and tried to compile and install but I receive the message 'File not found: DesignEditors.dcu' . In the editor DesignEditors and DesignIntf are red underlined. These units are inclued in the unit I use to register component.

But if I open a package which contains all my components (all... they are only 5), with the exact same source, I can compile and install without problems!

I need to solve because I want distribute components individually, not as a suite.

Googling I found several suggestions but none has solved the issue.

Thanks in advance for any advice.
0
Comment
Question by:Marco Gasi
[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
  • 3
4 Comments
 
LVL 27

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 39810158
Try to remove DesignIde.dcp under Requires in project tree (usually on right side of ide).
You can do the same with all *.dcp files in Requires - Delphi will add all of then automatically. Then do full rebuild. Save project as XE3 variant like: MyPackXe3.dproj
Eventually - you can add ...Source\ToolsApi folder in Delphi Tools/Options/Library.
0
 
LVL 31

Author Comment

by:Marco Gasi
ID: 39810178
Hi sinisav.
I deleted rtl.dcp but this didn't change things. I added ToolApi but DesignEditors and DesignIntf remain red underlined and trying to build gives me the error

[dcc32 Fatal Error] ToolsAPI.pas(18): F1026 File not found: 'DockForm.dcu'
0
 
LVL 31

Author Comment

by:Marco Gasi
ID: 39810181
Adding designide.dcp to Requires solved the issue. Thanks for having made me look in the right place!
0
 
LVL 31

Author Closing Comment

by:Marco Gasi
ID: 39810184
Thank you, sinisav.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

728 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