cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ronenakri
Level 2

Node locked + Float ?

I was trying to figure out the best way to do this and would appreciate any insight on the matter.

My situation is this, I need my product to first check if it has a node-locked license and only if it doesn't, check for a floating license.
this is made more complicated by the fact that flexnet first checks for licenses at some cache of licenses that it keeps at "HKLM\Software\FLEXlm LicenseManager\OURDAEMONNAME_LICENSE_FILE" which prevents me from specifying an exact search order.

To make matters more complicated, the product sometimes needs two licenses to operate so it might need to get one of them locally and the other from the server.
Any ideas?
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Your application can call lc_set_attr with LM_A_APP_DISABLE_CACHE_READ to disable reading from the cached locations. There's also LM_A_CKOUT_INSTALL_LIC to disable writing to the cache.

Depending on specifics, your code might need multiple job handles to work with the different license sources.
0 Kudos
ronenakri
Level 2

Thanks RobertDickau,
That seems to do the trick!
0 Kudos