Skip to content

Question: Invalid license error message #145

@yveszoundi

Description

@yveszoundi

I'm getting a license error message with DocumentBuilder on Windows 11 in a POC for an open source application.

docbuilder: license is invalid!
error (save): file not opened!

Is there a license to obtain for my use-case? I downloaded the latest version from the website.

  • I'm running the code below on Windows from Rust (after generating bindings from the header files).
  • I don't think that I'm misusing the API, and I'm testing a minimal command-line application.
NSDoctRenderer_CDocBuilder::Initialize(onlyoffice_docbuilder_dir_ptr); 
let mut doc = NSDoctRenderer_CDocBuilder::new();
let a = doc.OpenFile(filename_ptr, empty_params_ptr); // .DOC file
doc.SetTmpFolder(tmp_folder_ptr);
doc.SaveFile(output_type, output_ptr, empty_params2_ptr); // .PDF output , ERROR HERE
doc.CloseFile(); 
NSDoctRenderer_CDocBuilder_Dispose();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions