delphi odac安装方法讲解
delphi odac安装方法讲解:
在网上查了很多都安装失败,可能是我理解能力差吧!
自己研究了一下自动的说明安装成功
Delphi and C++ Builder for Win32
--------------------------------
1) Go to one of the following folders (let's denote this folder %MakePath%):
SourceDelphi5 - for Delphi 5
SourceDelphi6 - for Delphi 6
SourceDelphi7 - for Delphi 7
SourceDelphi9 - for Delphi 2005
SourceDelphi10 - for Delphi 2006
SourceDelphi11 - for Delphi 2007
SourceCBuilder5 - for C++ Builder 5
SourceCBuilder6 - for C++ Builder 6
2) Find in the 'Make.bat' line containing
找你的OADC 包Source目录下你适合你的版本的Make.bat
set IdeDir="D:Program FilesBorlandDelphi7
修改位你系统的安装路径
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复制文件到你的Sourcedelphixx下
4) Copy %MakePath%Odac*.bpl files to a folder that is included in the
PATH environment variable
复制sourcedelphixxodad目录的*.bpl文件到你的程序安装目录..ProjectsBpl目录下边 还有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