Solved

Custom components issue n. 1

Posted on 2014-01-25
4
619 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
delphi parse string to params 3 156
can't find the executable in Simulator 1 112
Delphi: ForceDirectory plain function 7 50
FMX and jaudiotracker playing memory stream 29 98
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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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