cummins
01-14-2010, 03:27 PM
After I checked out the license for the feature/version, then processed both code1 and code2 on Windows XP. Both of them worked fine on Windows XP. But The code1 threw an AccessViolationException on Windows 7.
(Attempted to read or write protected memory. This is often an indication that other memory is corrupt) Do you have any ideas on this?
code1
CONFIG *conf = NULL;
conf = lc_auth_data(lm_job, FeatureName);
char *vendorString = conf->lc_vendor_def;
code2
CONFIG *conf = NULL;
conf = lc_auth_data(lm_job, FeatureName);
long days = lc_expire_days(lm_job, conf);
Thanks,
(Attempted to read or write protected memory. This is often an indication that other memory is corrupt) Do you have any ideas on this?
code1
CONFIG *conf = NULL;
conf = lc_auth_data(lm_job, FeatureName);
char *vendorString = conf->lc_vendor_def;
code2
CONFIG *conf = NULL;
conf = lc_auth_data(lm_job, FeatureName);
long days = lc_expire_days(lm_job, conf);
Thanks,