An unhandled exception of type ‘System.DllNotFoundException’ occurred in pdf2txt.dll library


We are planning to buy the license for our project to convert the PDF to Text File using pdf2txt.dll.

When trying to check the usage, we wanted to create a class in VS 2015 and use the DllImport function to use the functions of the above dll.

But we are getting error like,

"An unhandled exception of type 'System.DllNotFoundException' occurred in dll"

We need support to resolve the above issue to use the dll to convert PDF File to text file.


Please compile your VS2015 project into an EXE file with "x86 platform" option first, place this generated EXE and following DLL files into the same folder,


and run your EXE to try again, your EXE will able to load pdf2txt.dll library properly.

If you still can't get it work, please send to us your demo project, we will test your demo project and provide a solution to you asap.


VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Code   If you cannot see the CheckCode image,please refresh the page again!