sungaila / PDFtoZPL

A .NET library to convert PDF files (and bitmaps) into Zebra Programming Language code.
https://www.sungaila.de/PDFtoZPL/
MIT License
70 stars 12 forks source link

Unable to find an entry point named 'FPDF_InitLibrary' in DLL 'pdfium.dll'. #22

Closed alvinrdaroy closed 2 years ago

alvinrdaroy commented 2 years ago

Hello,

I am getting this error when I try to call the PDFtoZPL.Conversion.ConvertPdfPage().

'Unable to find an entry point named 'FPDF_InitLibrary' in DLL 'pdfium.dll'.'

Any idea what causing the issue.

Thanks in advance.

Alvin

sungaila commented 2 years ago

Hi @alvinrdaroy,

Could you please check the version of the pdfium.dll file in your output directory? It should be 105.0.5187.0.

The error message implies that pdfium.dll was found but the containing FPDF_InitLibrary function was not.

A version mismatch is my first guess. Does your project use its own pdfium library from an other source?

alvinrdaroy commented 2 years ago

Hi @sungaila,

Thanks for the reply. You are right, it was a version mismatch.

Thanks a lot. 👍

Alvin