Migrating to Delphi 2005/2006/2007/2009/2010 and higher ussues.
There is no DockForm.pas in Delphi 2005/2006/2007/2009/2010 sources but you can use it in your application.
DockForm with such a name appeared in Delphi 4/5, with name uDockForm was in Delphi 6/7.
This is a piece of humpbacked advice:
Just add "designide" in Project -> Options -> Packages -> Build with runtime packages.
The design time package with the code in it is needed, add to "require" section.
Such an advice is applied for research only purposes.
First: to run the application on a computer where Delphi is not installed, one will need the copy bpl-file is required.
Second: it is not allowed to deploy any of that code, copyright would be infringed. One should never be recompiling the code in the toolsapi source directory.
Stub unit
Unit can be used as a temporary measure, a palliative while migrating to new versions of Delphi
unit DockForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TDockableForm = class(TForm)
private
{ Private declarations }
public
{ Public declarations }
end;
var
DockableForm: TDockableForm;
implementation
{$R *.dfm}
end.
Stub DockForm.dfm
object DockableForm: TDockableForm
...
...
end
Where is Proxies.dcu? Cannot find unit Proxies.pas
While migrating to new versions, Delphi may lack the Proxies file.
This is a common issue while porting components.
If application or expert uses designtime information in Delphi 6 and later, one have to replace
uses DsgnIntf;
with
uses DesignIntf, DesignEditors;
But then one can run into an error message 'Cannot find unit Proxies.pas'
If this occures in a run-time package then one should separate out the design-time items and put them into a design-time package.
Humpbacked advice: one should then add DesignIde.dcp to the requires section of your design-time package.
Such an advice is applied for research only purposes.
To run the application on a computer where Delphi is not installed, one will need to copy bpl-file.
One are not allowed to deploy any of that code.
Переход на новые версии Delphi
This is a common issue while porting components.
If application or expert uses designtime information in Delphi 6 and later, one have to replace
uses DsgnIntf;
with
uses DesignIntf, DesignEditors;
But then one can run into an error message 'Cannot find unit Proxies.pas'
If this occures in a run-time package then one should separate out the design-time items and put them into a design-time package.
Humpbacked advice: one should then add DesignIde.dcp to the requires section of your design-time package.
Such an advice is applied for research only purposes.
To run the application on a computer where Delphi is not installed, one will need to copy bpl-file.
One are not allowed to deploy any of that code.
Stub unit
Can be used as a temporary measure, a palliative while migrating to new versions of Delphiunit Proxies;
interface
function IsProxyClass(ComponentClass: TClass): Boolean;
implementation
function IsProxyClass(ComponentClass: TClass): Boolean;
begin
...
end;
end.
Переход на новые версии Delphi
Subscribe to:
Posts (Atom)