Cryptlex Forums

LexStatusCodes ambiguity

M
Michael Sisco

The use of status codes is inconsistent within LexActivator.

IsLicenseGenuine returns an int and all of the LexStatusCodes values are defined as const int, but SetLicenseCallback expects a function that accepts a uint. Why the discrepancy? The value passed back to the callback needs to be interpreted as a LexStatusCode, correct?

Of course I can work around this using casts, but it seems this shouldn’t be necessary.

A
Adnan KamiliCryptlex team

Thanks for pointing to this bug. We will fix this in upcoming releases.

← Back to all topics · 2 posts · 777 views · opened 2022-07-06