Unidac手工安装
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 Source\Delphi15\*.dpk - for RAD Studio XE
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 Source\Delphi15\*.dpk - for RAD Studio XE
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
Unidac手工安装的更多相关文章
- 大名鼎鼎的UniDAC手工安装
第一次开博,该写点什么.由于懒,很多事情,都不想动.不过,懒不能解决遗忘的毛病.还是动手,记录一下吧. 好了,言归主题. UniDAC 的手工安装. 现在Delphi,已经发展到了XE6,支持多种移动 ...
- 手动安装UniDAC的过程
每次安装都不一样,而且有时候挺麻烦的,所以记下来.我这次安装过程是这样的: 0. 修改Source\Delphi7\Make.bat,填入正确的IdeDir 1.找到source\delphi7目录, ...
- 使用Unidac内置连接池
第一步: 放一个TUniconnection并设置相关属性 之后直接使用TUniconnection对象即可 跟踪unidac源码uni单元1540行中可以看到 Connect方法调用CreateIC ...
- unidac连接FireBird数据库
dbconn: TUniConnection; with dbconn do begin if not Connected then begin ...
- Delphi FireMonkey使用UniDAC 连接MySQL
首次用Delphi XE6 开发安卓程序,并没有在网上找到连接远程MySQL服务器的文档,自己摸索一番,发现UniDAC控件新版本也已支持了FireMonkey下的开发.遂记下连接方法和大家分享. 1 ...
- [置顶] myEclipse8.5或者eclipse手工安装jd插件(myEclipse8.5或eclipse内直接查看.class文件,jd反编译工具)
myEclipse8.5或eclipse下手工安装jd-gui反编译软件 下载jdeclipse_update_site.zip网址是(http://dldx.csdn.net/fd.php?i=32 ...
- 在datasnap 中使用unidac 访问数据(客户端)
前面我们讲了如何使用unidac 在datasnap 的服务端访问数据库,今天大概讲一下客户端如何访问 前面做的服务器?其实这个客户端适合任何datasnap 服务端. 首先我们建一个应用,并加入一个 ...
- uniDAC的安装和使用
1.解压后把UniDAC文件夹 2.在UniDAC\Source\Delphi7文件夹中找到Make.bat文件,鼠标右键“编辑”确认DELPHI7的安装路径是否正确(建议:设置成绝对路径了,防止因为 ...
- 在datasnap 中使用unidac 访问数据(服务器端)
从delphi 6 开始,datasnap 作为delphi 自带的多层框架,一直更新到最新的delphi 10.3 .同时逐步增加了很多新的功能 ,比如支持REST 调用,支持 IIS ,apach ...
随机推荐
- Effective C++ 条款10:令operator= 返回一个reference to *this
class Widget { public: ... Widget& operator+=(const Widget& rhs) // 返回类型是个reference,指向当前对象 { ...
- mysql——主键自动增长&唯一索引
首先说一下主键和唯一索引的区别 主键:一个数据库的一张表有且仅有一个主键,而且主键不能重复 唯一索引:一个数据库的一张表上唯一索引可以有多个,只是所在唯一索引上的值不能重复,这一点和主键一样 下面我们 ...
- Java 正则表达式 Pattern & Matcher
通常会有这种需求: 在文档中搜索有规律的字符串,然后进行统计或者替换.Java.util.regex包下的Pattern和Matcher这两个类提供了通过正则表达式来匹配查询,甚至替换的功能.那么我们 ...
- Spark- SparkSQL中 Row.getLong 出现NullPointerException错误的处理方法
在SparkSQL中获取Row的值,而且Row的字段允许null时,在取值的时候取到null赋值给新的变量名会报NullPointerException错误, 可以先用row.isNullAt(ind ...
- Android View的生命周期
View生命周期相关方法 View是什么?官方源码注释中的定义:这个类是用户接口的基础构件.View表示屏幕上的一块矩形区域,负责绘制这个区域和事件处理. View是所有widget类的基类,Widg ...
- Sql server锁机制
如何查看锁 了解SQL Server在某一时间点上的加锁情况无疑是学习锁和诊断数据库死锁和性能的有效手段.我们最常用的查看数据库锁的手段不外乎两种: 使用sys.dm_tran_locks这个DMV ...
- C++(二十) — 指针常量和常量指针
1.const 常量概念 对于 const 定义的常量,必须在定义时初始化,不能在程序执行运行过程中改变. 2.指针常量.常量指针 区别 (1)技巧:从右向左读,替代方法: p:换为 p is a: ...
- Ubuntu 18.04 下 emscripten SDK 的安装
Ubuntu 18.04 下 emscripten SDK 的安装http://kripken.github.io/emscripten-site/docs/getting_started/downl ...
- day5-xml模块
一.简述 xml即可扩展标记语言,它可以用来标记数据.定义数据类型,是一种允许用户对自己的标记语言进行定义的源语言.它用于不同语言或者程序之间进行数据交换,从这点上讲与json差不多,只不过json看 ...
- Superset 初探
安装都是借鉴的别人的,已经剪裁下来.到自己文件夹里了. 下面介绍.如何启动superset ,BI 分析工具.这是我以前的强项.应该没问题. 问题: 安装好了之后,再打开localhost 就拒绝访问 ...