Posts

Showing posts with the label DsgnIntf.dcu not found

DsgnIntf.dcu not found Delphi error

I was transferring my Code from Delphi 5 to Delphi XE5 while running I got error DsgnIntf.dcu not found. And I found that DsgnIntf.dcu was a part of ToolsAPI that introduced in Delphi 5. Now in newer versions of Delphi this file has been replaced by DesignIntf.pas . The property editors units and other design-time files were also moved into DesignEditors, DesignMenus, DesignWindows . So the solution is to replace all references of DsgnIntf to DesignIntf in a unit. But, when we have a single package for component development then we must separate run-time code and design-time code into separate packages. Create a run-time only package that contains just your component code. Create a design-time only package that specifies your run-time only package and the IDE's DesignIDE package in its requires list, and contains just your property editor and registration code. Then you can install the design-time only package into the IDE, and refer to the run-time only package in you...