TF_GetFeatureValue returns 0x1Answered

Hello,

We are still using the free plan to figure out all the details:
I am working with the float license server example now and this seems to be working well. 
Only issue is that we just added a custom license field to the license and calling:

TCHAR * featureValue;
const TCHAR * featureName = _T("validDays");
HRESULT hr = TF_GetFeatureValue(tfHandle, featureName, 0, 0);

returns 0x1

I restarted the float license server, replaced the .dat file but this didn't solve it.

What could be the issue?

Thanks,
Markus

Answer

Changing a field after activation requires getting the new values from the severer.

See: https://wyday.com/limelm/help/license-features/#change

Long story short: reactivate the server.