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

lc_feat_list returns no features

Portion of the code:

lc_new_job(pOldJob,0,&vendorCode,&pJob);
lc_set_attr(pJob,LM_A_APP_DISABLE_CACHE_READ, (LM_A_VAL_TYPE)1);
lc_set_attr(pJob,LM_A_CKOUT_INSTALL_LIC, (LM_A_VAL_TYPE)0);
lc_set_attr(pJob,LM_A_LICENSE_DEFAULT,(LM_A_VAL_TYPE)sLicPath);
char** charFeatures = lc_feat_list(pJob, LM_FLIST_ALL_FILES, NULL);

Sometimes lc_feat_list returns no features and has to be called more than once. I have not found any repeatable pattern yet and just wondering if it rings a bell with anyone.
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

I haven't personally seen this, but: What's a typical value of your license path sLicPath? Do you change job handles between lc_feat_list calls? Are you using trusted storage?
0 Kudos