PDA

View Full Version : lc_feat_list returns no features



cutama
01-06-2009, 03:08 PM
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.

RobertDickau
01-07-2009, 11:27 AM
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?