delphi控件安裝(安裝ODAC、TeeChart、TServerSocket、TWSocketServer、TComm)


一、oracle插件安裝
delphi7如何安裝oracle access控件

假設ODAC主目錄在  D:\dzj\odac
  Delphi7主目錄在     D:\Program Files\Borland\Delphi7
  1.修改D:\dzj\odac\Source\make.bat文件如下
    rem Prepare ==============================================================
    rem ======================================================================
    set IDEName=%1
    set IDEVer=%2
    set PrjName=Odac
    set PrjNameL=odac
    set PrjNameU=ODAC
    set IdeDir="D:\Program Files\Borland\Delphi7

    注意,上面只有一個",后面沒有"
  2.在DOS下進入如下目錄 D:\dzj\odac\Source\Delphi7
   打入如下命令..\make Delphi 7
   DOS界面如下:D:\dzj\odac\Source\Delphi7>..\make Delphi 7
  3.在Delphi7->tools->Environment Options->Library->Library path 中加入如下兩項
    D:\dzj\odac\Source
D:\dzj\odac\Source\Delphi7
  4.D:\dzj\odac\Source\Delphi7\Odac目錄下的所有*.bpl拷貝到
   D:\Program Files\Borland\Delphi7\Bin 目錄下
  5.在Delphi7中Component->Install Packages中添加
D:\Program Files\Borland\Delphi7\Bin\dclodac70.bpl

   如果出現一個對話框提示是否要升級,選擇“否”

二、Teechar7安裝
TeeChart Pro v7 VCL 安裝指南(轉載)
TeeChart 7.0 With Source在Delphi 7.0中的安裝

一、刪除Delphi7自帶TeeChart
1、Component -> install Packages 中 Remove 所有以Tee開頭的包,OK,關閉Delphi7。
2、刪除Delphi\Bin目錄下的DclTee70.bpl;
3、刪除 \Windows\System32(或System)目錄的以下文件:
Tee70.bpl
Teedb70.bpl
Teeqr70.bpl
Teeui70.bpl

4、刪除Delphi\Lib目錄下的以下文件(如果有的話.可以把以下文本建成一個Bat文件,在Delphi\Lib目錄下運行即可。

del QRTEE.dcu
del dcltee.dcp
del tee.dcp
del TeeAbout.dcu
del TeeAbout.dfm
del teebmps.res
del TeeConst.dcu
del teedb.dcp
del TeeFunci.dcu
del TeeGally.dcu
del TeeGally.dfm
del TeeLisB.dcu
del TeEngine.dcu
del TeePoEdi.dcu
del TeePoEdi.dfm
del TeePrevi.dcu
del TeePrevi.dfm
del TeeProcs.dcu
del teeqr.dcp
del teeresou.res
del TeeShape.dcu
del teeui.dcp
del TeExport.dcu
del TeExport.dfm
del TeCanvas.dcu
del Chart.dcu
del ArrowCha.dcu
del BubbleCh.dcu
del EditChar.dcu
del GanttCh.dcu
del Series.dcu

二、安裝TeeChart Pro v7.0 Full Sources

1 啟動Delphi,將TeeChart v7.0源文件拷貝到一特定目錄,如 \Delphi7\Source\TeeChart7;
並在Tools-> Environment Options -> Library -> Library Path 中添加該路徑;
同時添加以下路徑 $(DELPHI)\Projects\Bpl,否則下一步編譯會有找不到“tee77.dcp”的問題!

2 Open Project打開目錄中的 Tee7D7.bpg; Project-> Build All Projects 編譯所有項目,
編譯生成的文件在$(DELPHI)\Projects\Bpl目錄中。

3 將Bpl目錄中的下列文件拷貝到\Windows\System32 (或System)目錄中:
Tee77.bpl
TeeDB77.bpl
TeeGL77.bpl
TeeImage77.bpl
TeeLanguage77.bpl
TeePro77.bpl
TeeQR77.bpl
TeeUI77.bpl

4、將Bpl目錄中的下列文件拷貝到\Delphi7\Bin目錄中:
DclTee77.bpl
DCLTeePro77.bpl
DclTGL77.bpl
DCLTQR77.bpl

5、將Bpl目錄中的下列文件拷貝到\Delphi7\Lib目錄中:
DclTee77.dcp
DCLTeePro77.dcp
DclTGL77.dcp
DCLTQR77.dcp
Tee77.dcp
TeeDB77.dcp
TeeGL77.dcp
TeeImage77.dcp
TeeLanguage77.dcp
TeePro77.dcp
TeeQR77.dcp
TeeUI77.dcp

6、安裝TeeChart:
Component -> install Packages 中 Add \Delphi7\Bin目錄中以下文件:
DclTee77.bpl
DCLTeePro77.bpl
DclTGL77.bpl
DCLTQR77.bpl (如果沒有安裝QuickReport,可以不添加此文件)
和\Windows\System32 (或System)目錄中的TeeImage77.bpl;

7、選擇簡體中文:

新建一工程,添加Additional面板中的TChart放到Form上,選中Chart1, 鼠標右擊,
選擇Options,在Langague框中再選Chinese Simp,OK。


備注:我進行了測試,TeeChart 6自帶的GIFImage在Delphi7中,設計時打開GIF動畫時出現死機的Bug已經完全消除了!


三、dpk的安裝,
3.1)dpk直接雙擊,點擊編譯--install
3.2)安裝完畢后,還需要設置環境變量 tools-->Enviroment options--->libary--->libary path--->dpk對應dcu的目錄
四、TIpedt安裝 安裝IPEdit--->IPEdit2004.dpk
五、安裝.pas文件 ,一般Component-->install Component-->Into new package--->unit file name(找到pas)--->package file name(找到剛才pas地址,寫一個dpk名字,但不能是,pas的名字,否則會有問題)
六、TNMUDP安裝 DELPHI_VCL\NMUDP\lib\numudp.pas


六、TServerSocket安裝
TServerSocket 其實就在delphi的bin目錄下,component--->install packages --->add --->delphi7/bin/dclsockets70.bpl
七、TiLedRound安裝
DELPHI_VCL\Iocomp3.0.4\Source VCL\iocomp70.dpk 按照dpk安裝方法進行安裝
八、TComm安裝
TComm的安裝與普通的pas不太一樣
Component--->Install Component --->Into exitsing package--->unit file name(C:\working\mydelphi\delphi上位機調試軟件(新板本)\SPCOMM\SPComm.pas)--->package filename(C:\Program Files\Borland\Delphi7\Lib\dclusr.dpk)
九、TRzSpacer 沒有找到
Raize.Components.v5.1 安裝
十、CoolTrayIcon 沒有找到
按照安裝pas方法進行安裝 DELPHI_VCL\CoolTrayIcon
十一、TWSocketServer找不到
C:\working\down\icsForD7\Delphi\Vc32\OverbyteIcsDel70.dpk

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM