ZD Screen Recorder SDK - Getting started with C++Builder

Getting started with ZD Screen Recorder SDK in C++ Builder


  • Incorporate the .h and .lib files of the SDK into the main .cpp file.
  • #include "ScnLib.h"
    #pragma comment(lib, "ScnLib.lib")
  • Initialize the SDK at the start of the application (this should be executed only once during application startup).
  • ScnLib_InitializeW(NULL);
  • Initiate a regular screen recording session with the default settings, typically triggered in a button click event handler.
  • ScnLib_StartRecording();
  • After a period of time, conclude the screen recording session, which is also commonly fired in a button click event handler.
  • ScnLib_StopRecording();
  • Uninitialize the SDK during the application's shutdown process (this should be executed only once upon application shutdown).
  • ScnLib_Uninitialize();
  • Browse the 'Videos' folder, typically found at 'C:\Users\YourName\Videos\', to view the video you've just recorded.

Try the SDK for FREE SDK APIs overview