Get started with your C++ implementation
We're in the process of updating our Windows SDKs. The content below relates to our previous version. Please contact our support team if you wish to implement Windows in-app checkouts or licensing.
1Add to project
You should add the
Paddle.dll and header files to your project. Simply add Paddle.lib as a dependency in
Project Properties/Linker/Input/Addition Dependencies in Visual Studio.
To start, you should add
#include "Paddle.h" in your header file. Following this you should also make sure you are using the
PaddleSDK namespace in your class.
using namespace PaddleSDK;
Now you can initialise the SDK and start the licencing process. This should be done as early as possible in your app lifecycle.
You should initialise an instance of the SDK with your keys, found in your vendor dashboard. For example:
auto paddle = Paddle::initSharedInstance("298c1c56fa2c2733220d54fdf211ea49", "503866", "13578");