| Prev | Next
Menu: Products - Portfolio - Services - Download - Order - Company

 
Topic #1.1.1.1.
Self-Help
   1.77 to 2.00  
   1.62 to 2.00  
   1.50 to 2.00  
   WH as a Service  
   D3/D4 to D5  
   What to Read  
   Unlock Hub  
   WebHub VCL Help  
   HTML Editors  
   HTML Import Wizard  
   Perf. Testing  
   Newsletter  
   Tech Notes  
*

  

Browsing >>1.77 to 2.00: How to upgrade from WebHub VCL v1.77 to v2.00

Upgrading WebHub Apps
These steps help you quickly convert WebHub Applications from version 1.77x to version 2.00x.
  1. Under Project Options, Directories, check the search path and change c:\ht\lib32;c:\ht\htfrm; to c:\ht\lib.

  2. In your project file (*.DPR), in the USES clause, edit all file paths to use the new directory structure:
    • change ht\lib32 to ht\lib
    • change ht\htfrm to ht\lib

  3. If possible, delete all extraneous DCUs compiled under v1.x.

  4. Under Tools|Environment Options, check the Library path and make sure that it does not include any irrelevant directories.

  5. Open every form in your project at least once, and save it. This enables Delphi to adjust to any slight differences in component specification, and updates your DFM files accordingly. Skipping this step leads to run time errors such as "property ... not defined".

  6. Check your package list and change to the new WebHub package filenames. Whub50 becomes WhubD5. Whubdb50 becomes WhubdbD5.

  7. At this point, you should be able to compile and run your application.

  8. Optionally merge winnt\href.ini and ht\hubmain.ini into ht\bin\hub.ini. In the registry, HKEY_LOCAL_MACHINE\SOFTARE\HREF Tools\WebHub, hub.ini should be set to the location of hub.ini, e.g. "c:\ht\bin\hub.ini".

Upgrading WebHub Apps that use COM
No changes are required if you are compiling with v2.007+.

See also: Benefits to WebHub v2.00

Last updated 30-Nov-2006 Pacific Time


 
Path:  www.href.com to; Services to; Support to; Self-Help to; 1.77 to 2.00

Copyright © 1995-2012 HREF Tools Corp. All Rights Reserved Worldwide.
Running: WebHub-v2.167 compiled with d16_win32 on Microsoft-IIS/7.5,
Local Time: Fri, 25 May 2012 11:49:42.
Session 632849034, 96 pages sent to CCBot/1.0 (+http://www.commoncrawl.org/bot.html) at 38.107.179.226;
Time to produce this page: 0msec.