Solved

Custom components issue n. 1

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

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 30

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 30

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 30

Author Closing Comment

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

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ddeman not working in activex 3 78
Newbie Thread Programming 1 116
FMX StringGrid1->Canvas->FillRect Problem 3 98
Printing problem 2 72
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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now