Toolbox64 is a collection of libraries for QB64-PE that I use regularly in my QB64-PE projects.
If you want to add Toolbox64 to an existing project, the simplest way is as a Git submodule:
cd your-project
git submodule add https://github.com/a740g/Toolbox64 includeThis will clone Toolbox64 into the include directory of your project.
If you clone a project that already has Toolbox64 as a submodule, you need to initialize and fetch it:
git submodule update --init --recursiveOnce Toolbox64 is available under the include directory, you can reference the libraries in your QB64-PE code:
-
At the top of your code, include the
.bifile (if available):'$Include:'include/library_name.bi' -
Write your main code.
-
At the bottom of your code, include the
.basfile (if available):'$Include:'include/library_name.bas'
- The code follows my personal style and conventions.
- This is a work in progress and will continue to evolve.
- Requires the latest version of QB64-PE.
- Source only — no binaries are included.
- All library files have proper include guards, so they can be safely included multiple times.
- Files use standard
.biand.basextensions for better syntax highlighting on GitHub (not.bm). - There is no formal documentation. Most code is self-explanatory, and you can find examples and brief API references in my other QB64-PE projects.