Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Custom components issue n. 1

Posted on 2014-01-25
4
Medium Priority
?
628 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 2000 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

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

721 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