Tech Notes
Tech Notes |
How to compile WebHub packages manually, in case automatic install does not work
If you get an error in Delphi when opening a project, saying that the WebHub packages can not be found, there are usually two causes:
- the packages really do not exist (see below) and must be built
- the packages do exist but Delphi cannot find them because they are not on the path. Fix the global environment path.
To make the packages compile:
- Exit Delphi
- Find the DCCDPK.BAT file in the webhub\lib\pkg folder (the pkg folder name varies based on version of Delphi, e.g. lib\pkgd07 for Delphi 7)
- Run the BAT file from a DOS prompt so that you can watch for messages easily.
That BAT file should compile all required package files, namely:- ZaphodsMapRT_D07.bpl - ZaphodsMap runtime
- ZaphodsMapDT_D07.bpl - ZaphodsMap design time
- WebHubRT_D07.bpl - main WebHub runtime
- WebHubDT_D07.bpl - main WebHub design time
- WebHubDBRT_D07.bpl - WebHub database components for use at runtime
- WebHubDBDT_D07.bpl - WebHub database components for use at design time
- WebHubWizardComponents_D07.bpl - runtime wizard features, called by WebHubAdmin, etc.
- WebHubWizardDT_D07.bpl - design time wizardry available within the Delphi IDE
- If there was an error during compilation, look for the dccDPK.log file which is generated, and look at the very last line(s) of the file. That will tell you what did not compile. In rare situations, you may need to make a change to the path to Delphi, or augment the search path.
- NB: you also need a copy of ldiRegExD07.bpl which is installed by "WebHub Object Pascal Components Setup".
- Restart Delphi. Note that Delphi uses the Windows Registry to determine which packages to load.
Copyright © 1995-2010 HREF Tools Corp. All Rights Reserved Worldwide. 29-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

