ZD Screen Recorder SDK - Getting started with Delphi

Getting started with ZD Screen Recorder SDK in Delphi


  • In the source files where you intend to utilize the SDK, include 'ScnLib' in the 'uses' section as follows:
  • uses Winapi.Windows, System.Classes, ..., ScnLib;
  • Initialize the SDK at the start of the application (this should be executed only once during application startup).
  • ScnLib_InitializeW('');
  • 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