Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To get a complete error description, use the API function LMX_GetErrorMessage().

Remarks

See

...

Search paths

...

in the LM-X End Users Guide

...

 for more information about how the LMX_Checkout method finds the license.

For local license files, the count value is ignored and checking will depend only on HostID, version, etc.

...

  1. Try to checkout feature from Borrow licenses store.
  2. Try to checkout feature from string.
  3. Try to checkout feature from local path.
  4. If network licenses are enabled:
    1. Try to checkout feature from license server.
    2. In case of an error other than LMX_NOT_ENOUGH_LICENSES, try to checkout feature from Grace licenses store.
  5. Try to checkout feature from Trial licenses store.

It is recommended that all licenses come from the same source (that is, the same local license file or the same license server) or as few sources as possible for simplicity and to make licensing most straightforward for users. However, it is technically possible to take licenses from multiple license files and multiple license servers at the same time. See License server for more information.

It is also recommended that you do as few checkouts as possible to fulfill requests. Preferably, checkouts should map directly to the number of licenses you sell to your customer. This helps ensure that customers understand the products they have bought and the licenses associated with them.

...