Visual Prolog 6.3 Upgrade Notes

See also

Upgrade Discounts

  • Owners of Visual Prolog 6.2 Commercial Edition license are welcome to order Visual Prolog 6.3 with a discount (50%, or depending on a number of licenses).
  • A free upgrade is available for the users, who purchased the Commercial Edition license after June 1, 2005.
  • Customers with the licenses earlier than Visual Prolog 6.2 are no longer eligible for upgrade discounts when purchasing the current version.

To check whether your are eligible for upgrade discounts and to order Visual Prolog 6.3 Commercial Edition with an appropriate discount, please, use WEB|Check For Update menu item from your Visual Prolog 6.2 Visual Development Environment (IDE).

Upgrading Projects from Visual Prolog 6.3, Build 6301 to Visual Prolog 6.3, Build 6302 (for Commercial Edition only)

Due to serious changes in Vip6kernel.dll, it is recommended to build projects created by the Build 6300 and 6302.

See also: Upgrading Projects from Visual Prolog 6.2 to Visual Prolog 6.3

Upgrading Projects from Visual Prolog 6.3, Build 6300 to Visual Prolog 6.3, Build 6301 (for Commercial Edition only)

Due to a new garbage collector strategy implemented in the Build 6301, it is impossible to simultaneously use .EXE files generated with the Build 6301 and DLLs generated with the previous version.

Therefore, it is recommended to recompile all DLLs you use with 6301.

Upgrading Projects from Visual Prolog 6.2 to Visual Prolog 6.3

  1. By default, Visual Prolog 6.3 replaces Visual Prolog 6.2 while installation. If you want to preserve Visual Prolog 6.2 at your computer, install Visual Prolog 6.3 into a different location.
  2. Visual Prolog 6.3 projects are not fully backward-compatible.
    Visual Prolog 6.2 IDE will not allow opening projects modified by Visual Prolog 6.3 IDE.
    It is recommended to create a backup copy of your project before opening it by the Visual Prolog 6.3 IDE.
  3. If you are going to use Visual Prolog 6.2 and Visual Prolog 6.3 simultaneously at the same computer, it is recommended to switch the IDE setting "Open the Last Project at Start Up" OFF, because the IDE in the both versions use the same registry entries for the list of opened projects.
  4. Some changes in the structure of PFC packages in Visual Prolog 6.3 require automatic updates in Visual Prolog 6.2 projects.
    Therefore, it is recommended to make the project file (PRJ6) writable before the first build.
     
  5. After you open your project in Visual prolog 6.3 Integrated Development Environment (IDE), the IDE will fulfill necessary updates in the project structure.
    After this, build the project and answer "Yes to All" to the message "The new module is required to be added into the project".
     
  6. You will see some compiler errors. There are three kinds of compiler errors:

Update for Errors about Include Files

Compiler errors about include files look like:

TaskWindow\TaskWindow.ph(11,10) : error c100: 
The file 'pfc\gui\standardControl\standardControl.ph' is not found

It is enough to delete the references to such files. I.e. please delete lines like:

#include @"pfc\gui\standardControl\standardControl.ph"

and build the project.

Update for Errors About Functor Name

Some functors have been moved to new location in Visual Prolog 6.3. For example, you can see errors like this:

TaskWindow\TaskWindow.pro(61,23) : error c205: 
Unknown domain/interface 'window::closeresponder'

Please follow the instructions in the following table:

Visual Prolog 6.2 identifier How to update?
 


window::closeresponder
,
window::closeResponse,
window::acceptClose,
window::denyClose,
window::defaultCloseHandling

Update class name to frameDecoration i.e.

frameDecoration::closeresponder,
frameDecoration::closeResponse,
frameDecoration::acceptClose,
frameDecoration::denyClose,
frameDecoration::defaultCloseHandling

exception::exceptionDescriptor/8 Add an extra parameter to exception::exceptionDescriptor, i.e. exception::exceptionDescriptor has 9 arguments in Visual Prolog 6.3.
msglayer::e_Error/1 Add an extra parameter to msglayer::e_Error, i.e. msglayer::e_Error has 2 arguments in Visual Prolog 6.3.
memory::sizeterm Rename to core::byteCount
binary::binarysize Rename to core::byteCount
not in this table. Please contact support@visual-prolog.com. We will answer you how to update and we will update this document.

The predicates like drawText and drawTextInRect has changed their type for the input length. Therefore you will see something like:

firstCustomControl.pro(32,52) : error c224: 
The value -1 is out of the range [ 0 .. 4294967295 ] 
for the domain '::unsigned'

Please remove a length parameter, i.e. the code:

GDIObject:drawTextInRect(Rectangle, "Hello", -1, [vpiDomains::dtext_Center]),

should be updated to:

GDIObject:drawTextInRect(Rectangle, "Hello", [vpiDomains::dtext_Center]),

Upgrading from Visual Prolog 5.x to Visual Prolog 6.3

Prolog Development Center provides the Migration Tool that will assist you to migrate your Visual Prolog 5.x projects into Visual Prolog 6.3.

You are welcome to download the Migration Tool for free with the help of the WEB|Check for Update menu item in the VDE.
 

The tool is also supplied with a CD version of the Commercial Edition of Visual Prolog 6.3.

 

Home | Company | News | Products Downloads | Shop | Support | Visual Prolog Features | Visual Prolog Compiler | FAQ | Tutorials | Examples | How to Migrate from Visual Prolog 5 to Visual Prolog 7 | Knowledge Base | Discussion Forum | wiki | Site Map
 

Prolog Development Center A/S - H.J. Holst Vej 3-5C - 2605 Broendby, Denmark - Tel +45 3636 0000 - Fax +45 3636 0001 - sales@visual-prolog.com