Skip to content
ComPDF

How to Run a Demo

Windows

ComPDF Conversion SDK provides a demo in the "samples" folder. You can follow the following steps to run the demo.

  1. Load the Visual Studio solution file "demo_vs2022.sln" in the "\samples" folder.
  2. Build the demo by clicking Build > Build Solution. After the build is completed, the executable file ".exe" will be generated in the "\samples\bin" folder. The name of the executable file depends on the build configuration.
  3. Double-click the executable file to run the demo.

Output files (Word, Excel, PowerPoint, etc.) will be generated in the "samples/output_files" folder.

Linux and Mac

ComPDF Conversion SDK provides demos in the "samples" folder. Before running the demo, make sure you have configured your environment correctly and installed CMake (3.0 or higher) on your machine. To run the demo, you can follow these steps:

  1. Open a terminal window and navigate to the "samples" folder of the ComPDF Conversion SDK for Linux.
  2. Enter the following command to run the demo.
shell
./RunDemo.sh

Output files (Word, Excel, PowerPoint, etc.) will be generated in the "samples/output_files" folder.