I'm updating a project from Delphi 3 to Delphi 5.
 
One of the components causes this error message at compile time:
 
"cannot find unit dsgnintf.dcu"
 
I checked and found only a dsgnintf.int file, not a dcu or pas. But Delphi 3 puts a Dsgnintf.dcu unit into its Lib directory.
 
The reference to DsgnIntf is made in the Register procedure, which for this component looks like this:
 
procedure Register;
 
implementation
 
uses
 DsgnIntf;
 
type
 {Design-time testing by Double-clicking or from popup menu take Test}
 {Added by Ahto Tanner}
 TDialogTest=class(TDefaultEditor)
 public
  procedure ExecuteVerb(Index: Integer); override;
  function GetVerb(Index: Integer): string; override;
  function GetVerbCount: Integer; override;
  procedure Edit; override;
 end;
 
const
 CUSTOM_BUTTON_ID=255;
 MAX_PATH_DISPLAY_LENGTH=35;
 
 
 

//--------------------------------------------------------------------------------------------------------//
procedure Register;
begin
 RegisterComponentEditor(TBrowseFolder, TDialogTest);
  RegisterComponents('Dialogs', [TBrowseFolder]);
end;
 
Is Borland in the habit of shipping DsgnIntf.dcu depending on the edition of Delphi? Using D5 Standard edition.
 
====================================
Patrick Dunford, Christchurch, New Zealand
 
 

Reply via email to