Skip to content
ComPDF

FAQ

  • Does OCR work on x86 architecture?

    Currently, OCR only works on x64 architecture.

  • Why does my C sample fail on Windows when I pass "input.pdf"?

    On Windows, most path parameters use COMPDFKIT_STRING, which is const wchar_t*. Use wide strings such as L"input.pdf", or use the CPDF_TEXT helper macro from this guide for string literals.

  • Why are my conversion options different from the C++ sample defaults?

    CConvertOption is a C structure and has no constructor. Initialize it explicitly or use a helper similar to CPDF_DefaultConvertOption in this guide.