home *** CD-ROM | disk | FTP | other *** search
- **************************************************************************
- Copyright 1996 David Allison
-
- VV VV IIIIII SSSSS TTTTTT AA
- VV VV II SS TT AA AA
- VV VV II SSSS TT AA AA
- VV VV II SS TT AAAAAAAA
- VV IIIIII SSSS TT AA AA
-
- MULTI-THREADED C++ WIMP CLASS LIBRARY
- for RISC OS
- **************************************************************************
-
- P U B L I C D O M A I N L I C E N C E
- -------------------------------------------
-
- This library is copyright. You may not sell the library for
- profit, but you may sell products which use it providing
- those products are presented as executable code and are not
- libraries themselves. The library is supplied without any
- warranty and the copyright owner cannot be held responsible for
- damage resulting from failure of any part of this library.
-
- See the User Manual for details of the licence.
-
- *************************************************************************
-
- Welcome to Vista. Vista is a library written in C++ for use
- when writing desktop applications on Acorn RISC OS machines.
- The library is supplied in 2 versions:
-
- EasyVista - A version compiled using Easy C++
- AcornVista - A version compiled using Acorn C/C++
-
- It is important that you use the correct version for your system as
- the two C++ systems are not compatible at the object code level.
- The libraries are located in the directory <Vista$Dir>.Library.
-
- The disk also contains a module called DrawFile. This is written
- by Acorn and is public domain. This should be loaded before running
- a program written using Vista as some of the Vista code uses the
- SWIs it provides.
-
- The disk contains the following:
-
- 1. !Hyperview
- An HTML viewer application. This is used to view the Vista user
- manual.
-
- 2. !Manual
- Double-click on this to view the hypertext User Manual.
-
- 3. !Vista
- This small application sets up the required paths for use with
- a C++ compiler. The directory contains the Vista libraries
- and all header files. Please make sure that you choose the correct
- library for your C++ compiler.
-
- 4. Examples
- This is an archive containing a set of example programs. These
- were written in Easy C++ using Vista and are supplied with
- full source code. Because of lack of disk space, they are
- supplied without executable code. You will need to compile
- them to use them. See the section below for further details:
-
- 5. Source
- An archive containing the source code for the Vista library.
-
- 6. Utilities
- This consists of public domain support utilities which are
- useful (and necessary) when using Vista. It contains:
-
- DrawFile: A relocatable module written by Acorn. It is used to
- display draw files on the screen. It must be loaded
- before the Vista can be used properly.
-
- Templates: A set of templates written by Acorn from the
- RISC OS Style Guide. They can be copied into
- your own template files using a template editor.
-
- Please read the manual before using Vista - it will make
- your life much easier.
-
-
- Example Programs
- ----------------
-
- The example programs supplied are compilable under both Easy C++ and
- Acorn C++. Easy C++ uses the files in the 'c' directory and
- doesn't care if they are C or C++ files. Acorn C++ requires the
- files to be in a directory called 'c++'. The programs are
- set up for use with Easy C++, so if you want to use Acorn C++
- you will need to rename the 'c' directory to 'c++'.
-
-
-
- Use with Acorn C/C++
- --------------------
-
- Vista was written for use with Easy C++, but can be used
- with Acorn C++. Versions compiled using both systems
- are supplied.
-
- To use Acorn C++ you will need to link with the library
- Vista:Library.AcornVista (along with stubs and c++lib). With
- Easy C++, select the library EasyVista from the library
- menu on the front end.
-
- Vista defines a macro called 'throw' which calls a function __throw()
- if you are using Acorn C++. This simply prints the error to the
- screen and exits. With Easy C++, the exception is properly caught.
-
- If you examine the source code for the examples you will see that
- the predefined macro __EASY_C is used to switch on the exception
- handling within the program. This macro is not defined by
- Acorn C++ so the exceptions will not be used. The __EASY_C
- macro is only available in Easy C++ version 1.55/2.35 or later.
-
- When compiling with Acorn C++ you will find a number of spurious
- warnings with certain Vista header files. These are not problems
- with the library, but are because of the AT&T Cfront translator
- being over zealous with its warnings.
-
-