PDA

View Full Version : Disable License Finder Window with TS



MatthiasB
06-13-2008, 07:36 AM
To disable the License Finder window with file base licensing one has to do the following:

lc_set_attr(job, LM_A_PROMPT_FOR_FILE, (LM_A_VAL_TYPE) 0);

This is not enough to disable the finder window with trusted storage when no licenses are available.

Any hints?

TIA, Matthias

RobertDickau
06-13-2008, 09:21 AM
That's kind of surprising, since setting LM_A_PROMPT_FOR_FILE to 0 should disable the prompt for any kind of license (especially with trusted storage, since there's nothing a user could browse for)...

As a sanity check, has that attribute been set for the same job handle used in the lc_checkout call that causes the prompt to be displayed?

MatthiasB
06-14-2008, 03:47 PM
It was a well hidden error in my code.

Thanks,
Matthias