Using the C++ API
Need C API Instead?
We also offer an alternative C API for use within C and other languages!
See Using the C API
Set Up Include Directories
To use Ultralight in your C++ code, simply add the following directory to your project's include directories (replace
<SDK_ROOT> with the actual path you've placed the SDK):
Include Headers In Your Code
<Ultralight/Ultralight.h> at the top of your code to import the API.
If you want to use the optional AppCore API (cross-platform windowing/drawing layer), you should also include
<AppCore/AppCore.h> at the top of your code.
Updated over 2 years ago