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
- :
- Using borrowing features with lc_set_attr
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
Mar 26, 2010
06:19 AM
Using borrowing features with lc_set_attr
Hello,
I'm using the Flex API to check out borrowed licenses and I am slightly confused with the usage of lc_set_attr when borring licenses. I have:
lc_set_attr(lm_job, LM_A_BORROW_EXPIRE, (LM_A_VAL_TYPE)"26-mar-2010:10:45");
and I check out a license, only for it to not show up on lmborrow -status (or registry) and shows up on my license server as borrowed. But if I set up LM_BORROW using lmborrow
I'm using the Flex API to check out borrowed licenses and I am slightly confused with the usage of lc_set_attr when borring licenses. I have:
lc_set_attr(lm_job, LM_A_BORROW_EXPIRE, (LM_A_VAL_TYPE)"26-mar-2010:10:45");
and I check out a license, only for it to not show up on lmborrow -status (or registry) and shows up on my license server as borrowed. But if I set up LM_BORROW using lmborrow
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 29, 2010
04:55 PM
That's odd; if I add the same thing to lmflex.c---
lc_set_attr(lm_job, LM_A_BORROW_EXPIRE, (LM_A_VAL_TYPE)"30-mar-2010");---and check out a borrowable feature B1, lmborrow -status shows the borrow information:
C:\i86_n3-11.8.0\i86_n3> lmborrow -statusIt shouldn't be necessary to explicitly set LM_BORROW from code, but running lmborrow is a valid alternative...
lmborrow - Copyright (c) 1989-2009 Flexera Software, Inc. All Rights Reserved.
Vendor Feature Expiration
______ ________ __________
demo B1 30-Mar-10 23:59