完美解決delphi7 安裝Ehlib4.1.4報錯的辦法

Delphi7安裝Ehlib4.14

2009-01-15 00:38:46|  分類:DELPHI學習|字號訂閱



從網上下載下來Ehlib4.14控件包,按說明文檔安裝方式是

By default Delphi (5, 6 and 7) places compiled files to the

<Delphi path>\Projects\Bpl directory and this directory already present

in the search PATH. But if you overwrite default BPL directory then you need

put compiled EhLibXX.BPL file into directory that is accessible

through the search PATH (i.e. DOS "PATH" environment variable; for example,

in the Windows\System directory).

Add, (if needed) 'EhLib directory' in Tools->Environment Options->Library->

Library Path (For Delphi 9 in Tools->Options->Environment Options->

Delphi Options->Library - Win32->Library Path).

Use "File\Open..." menu item of Delphi IDE to open the runtime package -

EhLibXX.Dpk.

In "Package..." window click "Compile" button to compile the package.

After that open and compile EhLibDataDriversXX.Dpk.

After compiling run-time packages install design-time

packages DclEhLibXX.BPL and DclEhLibDataDriversXX.BPL into the IDE.

For that use "File\Open..." menu item to open design-time package

DclEhLibXX.Dpk.

In "Package..." window click "Compile" button to compile the package

and then click "Install" button to register EhLib components on

the component palette.

但安裝會出現 EhLib70.dpk(59): File not found: 'DBSumLst.dcu'的錯誤,

解決辦法,可以把下載的控件包中Delphi7文件目錄中的文件全部拷到Common文件夾中,然後打開Delphi-》Tools-》Environment Options-》Library,再選擇Library path路徑找到你下載控件包Common目錄所在。然後添加。Ok。

再選擇Delphi中File -》Open 打開Common中的DPK文件,注意這裏有四個DPK文件,先選擇EhLib70.dpk 之後Compile(不要Install) 再打開EhLibDataDrivers70.dpk再Compile(不要Install)。編譯這兩個文件之後再打開DclEhLib70.dpk文件,點Compile,再安裝(此時點Install),再打開DclEhLibDataDrivers70.dpk 點編譯,再安裝(此時點Install)到此OK,退出Delphi編譯器,重新啓動OK

ps:我亦遇此問題,照此法解決.


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章