delphi odac安裝方法講解:
在網上查了很多都安裝失敗,可能是我理解能力差吧!
自己研究了一下自動的說明安裝成功
Delphi and C++ Builder for Win32
--------------------------------
1) Go to one of the following folders (let's denote this folder %MakePath%):
Source/Delphi5 - for Delphi 5
Source/Delphi6 - for Delphi 6
Source/Delphi7 - for Delphi 7
Source/Delphi9 - for Delphi 2005
Source/Delphi10 - for Delphi 2006
Source/Delphi11 - for Delphi 2007
Source/CBuilder5 - for C++ Builder 5
Source/CBuilder6 - for C++ Builder 6
2) Find in the 'Make.bat' line containing
找你的OADC 包Source目錄下你適合你的版本的Make.bat
set IdeDir="D:/Program Files/Borland/Delphi7
修改位你系統的安裝路徑
and make sure that correct path to IDE is set (always include forward
quote and do not include ending quote)
3) Run 'Make.bat'. Binaries will be copied to %MakePath%/Odac subfolder
執行MAKE.BAT復制文件到你的Source/delphixx下
4) Copy %MakePath%/Odac/*.bpl files to a folder that is included in the
PATH environment variable
復制source/delphixx/odad目錄的*.bpl文件到你的程序安裝目錄../Projects/Bpl目錄下邊 還有lib和CRGrid里的dcu文件復制到系統的lib目錄下邊
本人就是在這出錯的。應該復制生產處理的ODAC下的BPL文件。
5) Run IDE and add dclodacXX.bpl via Component->Install Packages... menu
這一步相信就不用我說了。
6) To compile ODAC based application add ODAC Source directory path
to the "Library Path" list
|
新聞熱點
疑難解答
圖片精選