Procedures for manually installing UNIDAC

Source: Internet
Author: User

Each installation is not the same, and sometimes very troublesome, so write down. My installation process is this:

0. Modify the Source\delphi7\make.bat, fill in the correct idedir

1, find the Source\delphi7 directory, all the DPK files are here.
2. Compile the DAC to run the package, i.e. DAC70.DPK.
3. If it is D6 or D7, compile the DAC GUI related package, which is dacvcl70.dpk.
4. Compile the DAC to run the package, i.e. DCLDAC70.DPK.
5, if it is D6 or D7, compile unidacvcl70.dpk.
6, separately compile the driver package: Pg/ora/mssql/mysql/ib driver package (especially do not forget to compile Crcontrols package, otherwise UNIDAC each boot will say that failed to load, although actually successfully loaded)
7, compile and install UNIDAC design package, namely DCLUNIDAC70.DPK.

8. Install package to find UNIDAC\BIN\DELPHI7\UNIDAC7.BPL
It is important to note that
1, UNIDAC and ODBC driver package conflict.
2, uniproviders under the driver Package Inc files, such as Ibdac.inc, Odac.inc, etc., default is not Professional Edition, in these Inc files, add a {$DEFINE Unidacpro}, to avoid finding some specific files during the run.
3. The option in the Dpk file seems to be problematic, preferably instead of the output directory to empty, the default path to Delphi (projects\bpl\), Unit output directory refers to ".", output to the current path.
4, the last point is a cliché, don't forget to add the UNIDAC path to the IDE's library path, that is, the path to source.

Reference: http://blog.sina.com.cn/s/blog_4ad042e50102eamq.html

Procedures for manually installing UNIDAC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.