F1026 File not found: ‘Designintf.dcu’ Delphi error

When I was porting some components from old Delphi 7 version to new Delphi XE5  version, I was getting “F1026 File not found: ‘Designintf.dcu’” error frequently. And I always seem to forget the solution for the error messages about Designintf. So for my memory and for your help, here I will explain how to solve this issue.

DesignIntf
Defines the interfaces and classes used by the property editors in the IDE. DesignIntf used to be a supplied as a .DCU file and was in the VCL package in old Delphi versions. Since it was a .DCU file, you could use it in both run-time and design-time packages.

Now in newer Delphi versions it is replaced with following units.
• DesignIntf,
• DesignEditors,
• DesignConst
• DesignMenus
• DesignWindows

Solution

These above units are supplied in the DesignIde package. So to solve this issue we just need to add DesignIde.dcp to required package list. 

Since the DesignIde package is design-time only, you can use these units only for design-time only packages. The designide.dcp for XE3 or later can be found in C:\Program Files (x86)\Embarcadero\RAD Studio\10.0\lib\win32\release

Add DesignIde.dcp in package requires part.

Right click on required option and select Add Reference option.





Comments

  1. Hi, Neat post. There is a problem with your website in internet explorer, would test this… IE still is the market leader and a big portion of people will miss your fantastic writing due to this problem. apple kundenservice berlin

    ReplyDelete

Post a Comment

Popular posts from this blog

ShellExecute in Delphi

How to send Email in Delphi?

Drawing Shapes in Delphi