Release 5.1 of Visual Prolog is almost 100% compatible with release 5.02.
Note, please, that the following packages have been changed in Visual Prolog 5.1 and are not fully backward compatible:
Visual Prolog 5.1 is not fully compatible with some examples from Visual Prolog 5.02.
In order to avoid intersection of domain names in the HTTP Layer (SOCKBIND\INCLUDE\HTTPLAY) and the Document Handling (DOC_TOOL\Include) packages, the URI domain of the HTTP Layer Package has been renamed httplay_URI. This causes incompatibility with user applications, written with the help of the HTTP Layer, version 5.02, and the HTTP example.
Report PackageHTTP Example
The following errors are generated while compiling an HTTP example (SOCKBIND\EXAMPLES\HTTP) from Visual Prolog 5.02: 100, 209.
Workaround
In the HTTP32.PRO replace the predicate:
form_referer(STRING,URI)
with
form_referer(STRING, HTTPLAY_URI),
.
The Report package has been changed in order to avoid incompatibility of the Report and the Own_Draw packages in one module. However, it is not fully backward compatible with old versions of Logidemo example and user applications, written with the help of the Report package, version 5.02.
LOGIDEMO Example
If you compile the VIP 5.02 LOGIDEMO example, or a project created by VIP 5.02 immediately after installation of VIP 5.1, you will get a number of error messages. We recommend you to use a new version of the example. However, if you prefer to compile an old Logidemo example or to upgrade your own application, use the following strategy:
Replace the own_member predicate with the mmmember predicate in the file TOOLS\REPORTS\REPORTS.PRO
Add the predicate mmmember in TOOLS\REPORTS\REPORTS.PRO file
PREDICATESdeterm mmmember(OD_ITEMSTATE,OD_STATE)determ mmmember(OD_ITEMACTION,OD_ACTION)
Add mmmember to CLAUSE in TOOLS\REPORTS\REPORTS.PRO file
CLAUSEmmmember([X|_],X):-!.mmmember([_|T],X):-mmmember(T,X).
- In the VDE Project window click "Cursor".
- Create a cursor with the idc_zoomout constant. Browse to VPI\INCLUDE\REPORT\RES\WIN\zoomout.cur
- OOP\EXAMPLES\SHAPES
- VPI\TOOLEXAM\DATECUST
- VPI\TOOLEXAM\REPTEST
- WINBIND\DEMOS\DEMO5
We recommend you to use new versions of these examples, if possible.