cancel
Showing results for 
Search instead for 
Did you mean: 
phuongnd
Pilgrim

How to prevent License Finder window?

Hello,

How to disable the License Finder windows when using lc_checkout function? If setting LM_A_PROMPT_FOR_FILE to 0 should disable the prompt, but how do the system know where the license file.

Can we set License file with lc_set_attr function?

lc_set_attr(job, LM_A_LICENSE_FILE_PTR, (short *)&path)

Any help would be very appreciated. Thank you in advance.
Labels (1)
0 Kudos
1 Reply
Highlighted
RobertDickau
Pilgrim

Re: How to prevent License Finder window?

Please see the section "Locating the License File" in the Programming Reference for License File-Based Licensing. Calling lc_set_attr with LM_A_LICENSE_DEFAULT is one way, and there are others involving external means such as using environment variables.
0 Kudos