1.Lazarus安装不在累赘,下载请到:
2.Unidac 3.0.0.8去盒子下载
3.Lazarus的包在\Source\Lazarus1,下面安装顺序参考如下:
1) Compile DAC run-time package(dacXX.dpk)
2) Compile DAC GUI related packagedacvclXX.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.pasunit separately.
6) Compile and install UniDAC design-timepackage (dclunidacXX.dpk)
7) Compile providers packages:
oraproviderXX.dpk, msproviderXX.dpk, myproviderXX.dpk,ibproviderXX.dpk,
pgproviderXX.dpk, liteproviderXX.dpk, odbcproviderXX.dpk.
After youhave compiled odbcproviderXX.dpk, compile providers that useODBC:
accessproviderXX.dpk, adsproviderXX.dpk, aseproviderXX.dpk,db2providerXX.dpk.
4.注意上面的dpk要变成lpi,第7步,编译oraproviderXX.lpi时,会报找不到OracleUniProvider.pas文件,在包里删除原来的包,重新添加\Source\UniProviders\Oracle\OracleUniProvider.pas即可。同时把Source\DAC.inc也拷贝到这个目录,编译,并安装
记住,一定要编译后,再安装。否则你用不了UniConnection控件。
5.编译msproviderXX.lpi时会出现错误。因时间问题,暂不提供方法解决。