首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

请问odac的安装

2012-03-15 
请教odac的安装我才下的ODAC_5.70.0.30,怎么安装不了呀?有知道的大虾给个详细的安装方法。里面的readme我看

请教odac的安装
我才下的ODAC_5.70.0.30,怎么安装不了呀?有知道的大虾给个详细的安装方法。里面的readme我看了,按它的方法装不了。还有Make.bat有什么用?谢谢!

[解决办法]
请你先安装Oratoolsadd才可以
而且要最新版的,不然不兼容
[解决办法]
Odac415.EXE...直接进行安装~
[解决办法]
早已过时的东西,学它干嘛?建议用ole DB
[解决办法]
看ReadMeSrc.txt

Oracle Data Access Components Source Code
Copyright 1997-2006, Core Lab. All Rights Reserved

There are two ways to compile and install ODAC for Windows manually.

I. Using IDE

Delphi and C++ Builder for Win32
--------------------------------

Run your IDE and walk through folowing steps:
1) Compile DAC run-time package (dacXX.dpk)
2) For Delphi 6,7 or C++ Builder 6 compile DAC GUI related package dacvclXX.dpk
3) Compile DAC design-time package (dcldacXX.dpk)
4) Compile ODAC run-time package (odacXX.dpk)
5) For Delphi 6,7 or C++ Builder 6 compile ODAC GUI related package odacvclXX.dpk
If you are going to create CLX applications compile OdacClx.pas unit separately.
6) Compile and install ODAC design-time package (dclodacXX.dpk)

You can find these packages in
Source\Delphi5\*.dpk - for Delphi 5
Source\Delphi6\*.dpk - for Delphi 6
Source\Delphi7\*.dpk - for Delphi 7
Source\Delphi9\*.dpk - for Delphi 2005
Source\Delphi10\*.dpk - for Delphi 2006
Source\CBuilder5\*.bpk - for C++ Builder 5
Source\CBuilder6\*.bpk - for C++ Builder 6

To compile ODAC based application add ODAC Source directory path
to the "Library Path ".

Delphi for .NET
-----------------

Run your IDE and walk through folowing steps:
1) Compile DAC run-time package (CoreLab.Dac.dpk)
2) Compile DAC design-time package (CoreLab.Dac.Design.dpk)
3) Compile ODAC run-time package (CoreLab.Odac.dpk)
4) Compile ODAC run-time package (CoreLab.Odac.AdoNet.dpk)
5) Compile and install ODAC design-time package (CoreLab.Odac.Design.dpk)
6) Specify the path to compiled assembles in "Assembly Search Paths "
7) To register OraDataAdapter component in Delphi for .Net Tool Palette follow
these steps:
- Open Delphi for .Net and go to "Tool Palette " window;
- Add "ODAC " category using popup menu;
- Select "Installed .NET Components... " from popup menu;
- Go to "Installed .NET Components " tab within opened dialog;
- Check OraDataAdapter component;
- Press OK button.

You can find these packages in
Source\Delphi8\*.dpk - for Delphi 8
Source\Delphi9\*.dpk - for Delphi 2005
Source\Delphi10\*.dpk - for Delphi 2006

To compile ODAC based application add CoreLab.Dac and CoreLab.Odac to
Namespace prefixes, add ODAC Source directory path to the "Library Path " list.

Kylix
-----

To run your Kylix IDE and walk through folowing steps:
1) Compile DAC run-time package (dacX.dpk)
2) Compile DAC GUI related package dacclxX.dpk
3) Compile DAC design-time package (dcldacX.dpk)
4) Compile ODAC run-time package (odacX.dpk)
5) Compile ODAC GUI related package odacclxX.dpk
6) Compile and install ODAC design-time package (dclodacX.dpk)

You can find these packages in
Source\Kylix2\*.dpk
Source\Kylix3\Delphi\*.dpk

II. Using make-files

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\CBuilder5 - for C++ Builder 5
Source\CBuilder6 - for C++ Builder 6

2) Find in the 'Make.bat ' line containing

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
4) Run IDE and add dclodacXX.bpl via Component-> Install Packages... menu
5) To compile ODAC based application add ODAC Source directory path
to the "Library Path " list

Delphi for .NET
-----------------

1) Go to the following folders (let 's denote this folder %MakePath%):
Source\Delphi8 - for Delphi 8
Source\Delphi9 - for Delphi 2005
Source\Delphi10 - for Delphi 2006

2) Find in the 'Make.bat ' line containing

For Delphi 8:
set IdeDir= "D:\Program Files\Borland\BDS\2.0

For Delphi 2005:
set IdeDir= "D:\Program Files\Borland\BDS\3.0

For Delphi 2006:
set IdeDir= "D:\Program Files\Borland\BDS\4.0

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
4) Run IDE and add CoreLab.Odac.Design.dll via Component-> Installed
.NET Components-> .NET VCL Components-> Add... menu. Specify the path to compiled assembles
in Component-> Assembly Search Paths-> Add... menu
5) To register OraDataAdapter component in Delphi for .Net Tool Palette follow
these steps:
- Open Delphi for .Net and go to "Tool Palette " window;
- Add "ODAC " category using popup menu;
- Select "Installed .NET Components... " from popup menu;
- Go to "Installed .NET Components " tab within opened dialog;
- Press "Select an Assembly " and choose CoreLab.Odac.AdoNet.dll
- Check OraDataAdapter component;
- Press OK button.
6) To compile ODAC based application add CoreLab.Dac and CoreLab.Odac to
Tools-> Options-> Environment Options-> Delphi Options-> Library->
Namespace prefixes

If you need ODAC 2.00 source code for Delphi 3 or C++ Builder 3
please contact us.
[解决办法]
按说明安装即可,make.bat也是安装的,不过需要先按说明修改make.bat里的参数
[解决办法]
我下了两个版本
一个版本可行
一个版本却不行
建议找个别的版本下载再安装试试

热点排行