Skip to content
MustafaHi edited this page Aug 16, 2021 · 2 revisions

First. Get Botan binary files

You can use vcpkg to install Botan

vcpkg install botan

or follow the setup guide provided by Botan https://botan.randombit.net/handbook/building.html


Second. Setup the library

Different methods

  1. Include it into your cpp project

    Add sciter-botan.cpp to your project

    Add to your main function

    SciterSetGlobalAsset(new botan());

    Done.

  2. Build the library as DLL

    Create project called sciter-botan

    Add sciter-botan.cpp to your project

    Create file called sciter.def with the following code, and link it your project

    EXPORTS
    SciterLibraryInit = SciterLibraryInit

    include all necessary headers

    Build.


Third. Include Script files

JavaScript botan.mjs Tiscript botan.tis

Make sure to have all binary files botan.dll and if created sciter-botan.dll, in the same folder as sciter.dll

Clone this wiki locally