Foxit Quick PDF Library

Error message: “XXXX was compiled with a different version of/from XXXX”

This general form of message in Delphi indicates a referencing error. In essence, it is produced when Delphi settings on the IDE or Project level contain references to multiple versions of the same library.

Specific examples include:

  • “Unit QuickPDF0724 was compiled with a different version of Printers.TPrinter”
  • “Unit QuickPDFExtra was compiled with a different version of System.AnsiStrings.AnsiCompareStr”
  • “System.AnsiString was compiled with a different version from DebenuPDFLibraryExtra”

The most important fact is that it is only possible to reference one version of each SDK (such as Foxit Quick PDF Library). This error will be produced whenever multiple versions of an SDK are referenced in the same project. As such, it is impossible, for example, to successfully compile a project that references both versions 10.13 and 10.14 of Foxit Quick PDF Library.

In addition, the Delphi edition of Foxit Quick PDF Library contains sets of DCU files intended for use with different development environments. These are organized into ZIP archives based on processor type (i.e., 32- or 64-bit) and Delphi version. By default, these ZIP archives will be located in: C:\Program Files\Debenu\PDF Library\

In order to address the problem, check your Delphi and/or project settings for references to Foxit Quick PDF Library. Ensure that these are not empty, refer to the same set of DCU files, and that this set is compatible with the development environment being used.

For the best results, Foxit recommends including all references to Foxit Quick PDF Library in the Library path.

This article refers to a deprecated product. If you are looking for support for Foxit PDF SDK, please click here.

Updated on May 16, 2022

Was this article helpful?
Thanks for your feedback. If you have a comment on how to improve the article, you can write it here: