Solved

Custom components issue n. 1

Posted on 2014-01-25
4
617 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
  • 3
4 Comments
 
LVL 26

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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 cmd execution 6 67
can i put an image from resource into image tag ? 6 27
scroll down TListBox component in Delphi 1 19
DBCtrlGrid, Delphi, Scroll 8 38
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

838 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