This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- Node locked + Float ?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 24, 2008
03:40 AM
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?
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?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 24, 2008
08:50 AM
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.
Depending on specifics, your code might need multiple job handles to work with the different license sources.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 29, 2008
07:44 AM
Thanks RobertDickau,
That seems to do the trick!
That seems to do the trick!
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)