UniDAC6.2.7下载地址:
http://download.csdn.net/detail/wozengcong/9099561
UniDAC6.2.8下载地址:(EXE版本直接安装使用)
http://download.csdn.net/detail/wozengcong/9308201
官方文档安装步骤:(后面附翻译:蓝色粗体字部分)
Installing UniDAC for Embarcadero RAD Studio XE7 using make-files
Perform the following steps:
- Go to the UniDAC\Source\Delphi21 directory.
- Find in the 'Make.bat' line containing
set IdeDir="%PROGRAMFILES%\Embarcadero\Studio\15.0
and make sure that correct path to IDE is set (always include forward quote and do not include ending quote). - Run 'Make.bat'. Binaries will be copied to the Bin, Include, and Lib subdirectories of the UniDAC directory:
*.bpl files for 32-bit Windows will be copied to the UniDAC\Bin\Delphi21\Win32 directory.
*.bpl files for 64-bit Windows will be copied to the UniDAC\Bin\Delphi21\Win64 directory.
*.dylib files for 32-bit Mac OS will be copied to the UniDAC\Bin\Delphi21\OSX32 directory.
*.dcu, *.dcp, *.bpi, *.lib, and *.res files for 32-bit Windows will be copied to the UniDAC\Lib\Delphi21\Win32 directory.
*.dcu, *.dcp, and *.res files for 64-bit Windows will be copied to the UniDAC\Lib\Delphi21\Win64 directory.
*.dcu, *.dcp, *.bpi, *.a, and *.res files for 32-bit Mac OS will be copied to the UniDAC\Lib\Delphi21\OSX32 directory.
*.dcu, *.dcp, *.a, and *.res files for the iOS simulator will be copied to the UniDAC\Lib\Delphi21\iOSSimulator directory.
*.dcu, *.dcp, *.a, *.o, and *.res files for the iOS device will be copied to the UniDAC\Lib\Delphi21\iOSDevice directory.
*.dcu, *.dcp, *.a, *.o, and *.res files for Android will be copied to the UniDAC\Lib\Delphi21\Android directory.
*.hpp files for 32-bit Windows will be copied to the UniDAC\Include\Delphi21\Win32 directory.
*.hpp files for 64-bit Windows will be copied to the UniDAC\Include\Delphi21\Win64 directory.
*.hpp files for 32-bit Mac OS will be copied to the UniDAC\Include\Delphi21\OSX32 directory.
*.hpp files for iOS simulator will be copied to the UniDAC\Include\Delphi21\iOSSimulator directory.
*.hpp files for iOS device will be copied to the UniDAC\Include\Delphi21\iOSDevice directory. - If you are using 32-bit Windows, copy UniDAC\Bin\Delphi21\Win32\*.bpl files to the System32 directory. If you are using 64-bit Windows, copy UniDAC\Bin\Delphi21\Win32\*.bpl files to the SysWOW64 directory and UniDAC\Bin\Delphi21\Win64\*.bpl files to the System32 directory.
- Run Embarcadero RAD Studio XE7.
- Install the dclunidac210.bpl UniDAC design-time package. For this, open the "Component->Install Packages" Embarcadero RAD Studio XE7 main menu and add theSystem32\dclunidac210.bpl (if you are using 32-bit Windows) or SysWOW64\dclunidac210.bpl (if you are using 64-bit Windows) package using the Add button.
- Install the dclunidacfmx210.bpl UniDAC FireMonkey design-time package. For this, open the "Component->Install Packages" Embarcadero RAD Studio XE7 main menu and add theSystem32\dclunidacfmx210.bpl (if you are using 32-bit Windows) or SysWOW64\dclunidacfmx210.bpl (if you are using 64-bit Windows) package using the Add button.
To compile UniDAC based C++Builder XE7 applications, add the UniDAC\Include\Delphi21\Win32 directory to "Include Path" and the UniDAC\Lib\Delphi21\Win32 directory to "Library Path" for the 32-bit Windows platform, the UniDAC\Include\Delphi21\Win64 directory to "Include Path" and the UniDAC\Lib\Delphi21\Win64 directory to "Library Path" for the 64-bit Windows platform, the UniDAC\Include\Delphi21\OSX32 directory to "Include Path" and the UniDAC\Lib\Delphi21\OSX32 directory to "Library Path" for the Mac OS platform, the UniDAC\Include\Delphi21\iOSSimulator directory to "Include Path" and the UniDAC\Lib\Delphi21\iOSSimulator directory to "Library Path" for the iOS simulator, and the UniDAC\Include\Delphi21\iOSDevice directory to "Include Path" and the UniDAC\Lib\Delphi21\iOSDevice directory to "Library Path" for the iOS Device.
安装前务必卸载旧版本(就是删除第4步复制到对应目录下的所有涉及到unidac的*.bpl文件)
翻译:
1、解压后把UniDAC文件夹直接复制到你专门用来存放第三方控件的地方(这一步根据自己的喜好,可以跳过这一步)
2、在UniDAC\Source\Delphi21文件夹中找到Make.bat文件,鼠标右键“编辑”确认DELPHI XE7的安装路径是否正确(建议:设置成绝对路径了,防止因为环境变量等原因,找不到路径)
3、双击运行Make.bat文件
4、32位操作系统:复制UniDAC\Bin\Delphi21\Win32文件夹里面的所有*.bpl文件到操作系统盘符C:\Windows\system32文件夹中
64位操作系统:复制UniDAC\Bin\Delphi21\Win32文件夹里面的所有*.bpl文件到操作系统盘符C:\Windows\SysWOW64文件夹中
复制UniDAC\Bin\Delphi21\Win64文件夹里面的所有*.bpl文件到操作系统盘符C:\Windows\system32文件夹中
5、双击(运行)DELPHI XE7
6、在Embarcadero RAD Studio XE7主菜单中依次点击"Component->Install Packages"添加(Add)
32位操作系统:the System32\dclunidac210.bpl
64位操作系统:SysWOW64\dclunidac210.bpl
7、在Embarcadero RAD Studio XE7主菜单中依次点击“Toosl->Options->Delphi Options->Library->Library Path”添加Library Path:
UniDAC\Source
UniDAC\Lib\Delphi21\Win32
UniDAC\Lib\Delphi21\Win64
UniDAC\Lib\Delphi21\OSX32
8、重新运行DELPHI XE7
--------------------------------------本帖参考老版本的方法载录1--------------------------------------
Universal Data Access Components Source Code
Copyright 1997-2010, Devart. All Rights Reserved
There are two ways to compile and install UniDAC 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) Compile DAC GUI related package dacvclXX.dpk
3) Compile DAC design-time package (dcldacXX.dpk)
4) Compile UniDAC run-time package (unidacXX.dpk)
5) Compile UniDAC GUI related package (unidacvclXX.dpk)
If you are going to create CLX applications compile UniDacClx.pas unit separately.
6) Compile and install UniDAC design-time package (dclunidacXX.dpk)
7) Compile providers packages:
oraproviderXX.dpk, msproviderXX.dpk, myproviderXX.dpk, ibproviderXX.dpk,
pgproviderXX.dpk, liteproviderXX.dpk, odbcproviderXX.dpk.
After you have compiled odbcproviderXX.dpk, compile providers that use ODBC:
accessproviderXX.dpk, adsproviderXX.dpk, aseproviderXX.dpk, db2providerXX.dpk.
You can find these packages in
Source\Delphi6\*.dpk - for Delphi 6
Source\CBuilder6\*.bpk - for C++ Builder 6
Source\Delphi7\*.dpk - for Delphi 7
Source\Delphi9\*.dpk - for Delphi 2005
Source\Delphi10\*.dpk - for BDS 2006
Source\Delphi11\*.dpk - for RAD Studio 2007
Source\Delphi12\*.dpk - for RAD Studio 2009
Source\Delphi14\*.dpk - for RAD Studio 2010
To compile UniDAC based application add UniDAC Source directory path
to the "Library Path".
Delphi for .NET
-----------------
Run your IDE and walk through folowing steps:
1) Compile DAC run-time package (Devart.Dac.dpk)
2) Compile DAC design-time package (Devart.Dac.Design.dpk)
3) Compile UniDAC run-time package (Devart.UniDac.dpk)
4) Compile and install UniDAC design-time package (Devart.UniDac.Design.dpk)
5) Compile providers packages:
Devart.UniDac.Oracle.dpk, Devart.UniDac.SQLServer.dpk, Devart.UniDac.MySQL.dpk,
Devart.UniDac.InterBase.dpk, Devart.UniDac.PostgreSQL.dpk,
Devart.UniDac.SQLLite.dpk, Devart.UniDac.ODBC.dpk.
After you have compiled Devart.UniDac.ODBC.dpk, compile providers that use ODBC:
Devart.UniDac.Access.dpk, Devart.UniDac.Advantage.dpk, Devart.UniDac.ASE.dpk,
Devart.UniDac.DB2.dpk.
6) Specify the path to compiled assembles in "Assembly Search Paths"
You can find these packages in
Source\Delphi9\*.dpk - for Delphi 2005
Source\Delphi10\*.dpk - for BDS 2006
Source\Delphi11\*.dpk - for RAD Studio 2007
To compile UniDAC based application add Devart.Dac and Devart.UniDac to
Namespace prefixes, add UniDAC Source directory path to the "Library Path" list.
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\Delphi6 - for Delphi 6
Source\CBuilder6 - for C++ Builder 6
Source\Delphi7 - for Delphi 7
Source\Delphi9 - for Delphi 2005
Source\Delphi10\*.dpk - for BDS 2006
Source\Delphi11\*.dpk - for RAD Studio 2007
Source\Delphi12\*.dpk - for RAD Studio 2009
Source\Delphi14\*.dpk - for RAD Studio 2010
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%\UniDac subfolder
4) Copy %MakePath%\UniDac\*.bpl files to a folder that is included in the
PATH environment variable
5) Run IDE and add dclunidacXX.bpl via Component->Install Packages... menu
6) To compile UniDAC based application add UniDAC Source directory path
to the "Library Path" list
Delphi for .NET
-----------------
1) Go to the following folders (let's denote this folder %MakePath%):
Source\Delphi9\*.dpk - for Delphi 2005
Source\Delphi10\*.dpk - for BDS 2006
Source\Delphi11\*.dpk - for RAD Studio 2007
2) Find in the 'Make.bat' line containing
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%\UniDac subfolder
4) Run IDE and add Devart.UniDac.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
6) To compile UniDAC based application add Devart.Dac and Devart.UniDac to
Tools->Options->Environment Options->Delphi Options->Library->
Namespace prefixes
--------------------------------------本帖参考老版本的方法载录1--------------------------------------
--------------------------------------本帖参考老版本的方法载录2--------------------------------------
1、下载到对应版本的UniDAC源文件包,我用的是3.60版本
2、进入
3、执行Make.bat。完成后在当前目录生成一个Unidac的目录。
4、修改文件夹属性,把所有文件夹的隐藏属性去掉。(针对win7,winxp下可省略这一步)
5、修改C:\Users\Public\Documents\RAD Studio\8.0\Bpl的访问权限,只要能进入即可。方法如下:右键点击Documents,在属性的“安全”页中选“高级”。高级页面中有一项“拒绝”,选中它,点击”更改权限”,再点击”编辑”,选中”完全控制”,一路确定。(针对win7,winxp下可省略这一步)
6、把Source\Delphi15目录下*.bpl复制到C:\Users\Public\Documents\RAD Studio\8.0\Bpl下。(针对win7,winxp下可省略这一步)
--原文中是将Unidac目录下的bpl复制,但是第三步时我的bpl直接生成在了Delphi15目录下
7、打开Delphi XE,从菜单Component->Install Packages
8、把Source目录添加到delphi的library路径,操作路径为:tools->options->environment options->Delphi options->library-win32,在library path中输入。(winxp下可省略这一步,因为第六步操作完后已经在library path中加入路径)
9、把Source\Delphi15\UniDAC\Lib目录添加到delphi的library路径。
操作后,新建一个工程,就可以看到UniDAC的控件了:
--------------------------------------本帖参考老版本的方法载录2--------------------------------------