Error message: Failed to create decompression directory

Symptom:

After deploying your barcode reading application powered by Dynamsoft Barcode Reader, you may receive the following error message returned by our SDK:

Failed to create decompression directory

Cause:

Dynamsoft's .NET DLL (Dynamsoft.BarcodeReader.dll) failed to create decompression directory

Resolution:

  1. Please navigate to the the installation directory and find the C++ DLLs. Typically they could be found at:
    C:\Program Files (x86)\Dynamsoft\Barcode Reader {Version Number}\Redist\C_C++\
  2. Copy DynamsoftBarcodeReaderx86.dll, DynamsoftBarcodeReaderx64.dll, DynamicPdf.dll and DynamicPdfx64.dll,
    and paste them into the same directory as your EXE application.