Dev Center
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

How to ensure that a device does not overuse its allotted number of instances?

« Back to FAQ index

Sometimes a device might run into an error that says that “Instance count is over limited”. This occurs when a single device tries to create a new instance after one has already been created. By default, the max that a single device can have is one, so if you try to create more than that, the error is produced.

  • One way to avoid this error from occurring is to check the number of allowed instances (on the local machine rather than the total available on this license) using the GetIdleInstancesCount method. If the result of that method is over 0 then proceed with creating the DBR instance, and no if not.
  • If you would like for a single machine to be able to operate more than one instance, that can be defined using the MaxConcurrentInstanceCount parameter.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

version 9.6.40

  • Latest version
  • Version 10.x
    • Version 10.2.0
    • Version 10.0.21
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.33
    • Version 9.6.32
    • Version 9.6.31
    • Version 9.6.30
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +