Tech Notes
Tech Notes |
WebHub Database Package will not compile via dccdpk; error about TeeChart unit
Question: I just ran the WebHub Components Setup and near the end it hit an error "The automatic compilation of packages was not successful."
I found my dccdpk.log file in WebHub\lib\PKGD06 (I am using Delphi 6), and the last line gives this error message:
WebHubDBRT_D06.dpk(33) Fatal: Required package 'tee' not found
I have upgraded to the professional version of TeeChart. How can I make the WebHub packages compile?
Answer:
- Edit your dccdpk.bat file using Notepad or equivalent.
- At approximately line 27, you should see that WebHubDBRT_D06.dpk is being compiled.
- Find the /u switch (location of extra units to link in) and add your path to TeeChart into the path, for example:
/u"c:\Program Files\HREFTools\WebHub\lib\;c:\Program Files\HREFTools\WebHub\lib\D06;E:\Data\Delphi\Delphi 3rd Party\TeeChart\Delphi6\Lib" - At approximately line 42, you should see that WebHubDBDT_D06.dpk is being compiled.
- Fix its /u switch in a similar manner.
- File Save, File Exit
- Run the dccdpk.bat file manually
Copyright © 1995-2010 HREF Tools Corp. All Rights Reserved Worldwide. 14-Aug-2007.
Running DynHelp.exe v1.2.0.6 on WebHub-v2.125 built by D14
Calc time: 125 ms
Running DynHelp.exe v1.2.0.6 on WebHub-v2.125 built by D14
Calc time: 125 ms

