下载的控件怎样安装?(50分)

  • 主题发起人 主题发起人 WoodHeads
  • 开始时间 开始时间
W

WoodHeads

Unregistered / Unconfirmed
GUEST, unregistred user!
本人从网上下载了一个控件。解压以后发现有一大堆*.dcu、*.pas和一个*.dpk文件,不知怎样安装到Delphi 3中使用。
 
打开dpk,compile,install.
 
打开componet,install componet 安装单个空间*.pas *.dcu
install package 为安装控件包 *.bpl
 
.pas is the source code, *.dcu is delphi compiled unit and *.dpk is
delphi package source code.
some component only gives a pas file and many dcu files, then you should have the same version of delphi as the author. open componet
install component and install the pas file,that is ok.
if you get all the source code, do as before but you may have different version delphi.
the pas file may have a name of ***reg.pas ,*** is the component name.
if you got a package with dpk file ,just open it from file menu then compile.
if you got dpl(delphi package lib) or bpl(borland package lib) just install this package.
if you got dpc file , do as dpl file ,it will lead you to an install interface. Famouse AHM97 is supplied in this kind.
 
选菜单component下install component...选项,用browse或直接输入控件名称(*.dcu)(*.pas);
选菜单component下install packages选项,用add安装控件包 (*.bpl)
 
1.如果有*.bpl文件就直接在菜单component->install packages->Add...->*.bpl->Ok
2.如果有*.dpk文件就选菜单File->Open->*.dpk->Compile,若没有错就可以Install,否则还得你自己改正
3.对于单个的*.pas和*.dcu,选菜单component->install component->*.pas或*.dcu->Ok
4.装好后控件板上会自动出现新控件,安装时还要注意包的版本和Delphi版本适不适用
 
时间太久,强制结束。 wjiachun
 
后退
顶部