ZD Soft Screen Recorder SDK Quick Start

Getting started quickly with ZD Soft Screen Recorder SDK in Delphi


  1. Download and unzip the SDK package to a temporary directory, e.g.
    C:\Temp\ScnLib
  2. Copy the SDK's dynamic link libraries to your project's .exe folder:

    copy the file and the folder
    C:\Temp\ScnLib\bin\x86\ScnLib.dll
    C:\Temp\ScnLib\bin\x86\ScnLib.DLLs
    to
    D:\Projects\Test\bin\Debug\
    IMPORTANT: you need to copy the entire folder ScnLib.DLLs (not only the files in it) to your project's .exe folder, and DO NOT change the folder name.

  3. Copy the SDK's API definition file to your project's source files folder:

    copy the file
    C:\Temp\ScnLib\include\ScnLib.pas
    to
    D:\Projects\Test\
  4. Open your project in Delphi, right-click your project name in the Project Manager, click Add... in the context menu, browse to
    D:\Projects\Test\
    select ScnLib.pas and then click the Open button to add it to your project.

  5. In the source files where the SDK will be used, add ScnLib to the uses like this:
    uses Winapi.Windows, System.Classes, ..., ScnLib;
  6. In a proper place of your source code, initialize the SDK and then start your first recording:
    ScnLib_Initialize(); ScnLib_SetVideoPathW('C:\Hello\World.mp4'); ScnLib_StartRecording();
  7. A while later, stop the recording and then uninitialize the SDK:
    ScnLib_StopRecording(); ScnLib_Uninitialize();

Try it for FREE API Reference