delphi odac安装方法讲解

Delphi教程 2025-08-30

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