How to use Dynamsoft Barcode Reader in multiple threads


You will need to create multiple instances of BarcodeReader and have separate instances in each thread.

For C/C++ API

Since v6.0, Dynamsoft Barcode Reader uses OpenMP. If you use LoadLibrary in your code, the app will crash. Please add SetEnvironmentVariable("OMP_WAIT_POLICY", "passive"); before calling LoadLibrary method. If you are not using it in your multi-thread application, it will work fine.

results matching ""

    No results matching ""