BBC BASIC Include Files for APIViewer Users
Information
The include files package is designed to simplify calling functions in DLLs by automatically loading DLLs and setting up the function pointers for each DLL you use in your programs. The include files contain the required code for all API functions listed in the APIViewer database.
Installation
Download the include files package and extract the files into the BBC BASIC for Windows installation directory inside the LIB directory. This will be 'C:\Program Files\BBC BASIC for Windows\LIB\' if BBC BASIC was installed in the default location.
Usage
To load the required DLL and set up the function pointers ready for use, use the following code at the start of your program:
CALL @lib$+"inc\filename"
Here filename should be one of the files listed in the table below. Alternatively you can copy and paste the code from any of the include files into your own programs.
Included header files
In total 136 header files are included:
|
|
|
|
Notes
- The constants, enumerations and structures used by each DLL are not included in the current release.
- There are no usage restrictions placed on the include files in this package when they are incorporated into your programs.