Currently, I’m working on cryptlex integration with Golang. When I’m trying to build the provided LexActivator sample from GitHub (https://github.com/cryptlex/lexactivator-go/tree/master/examples), getting the following error:
“cannot use _Cfunc_CString(” < Included product data here > “) (type *_Ctype_char) as type *_Ctype_ushort in argument to _Cfunc_SetProductData”.
I have downloaded LexActivator for Windows 3.9.1 and copied “LexActivator.dll” and “LexActivator.lib” in the “libs” directory.
Installed Go version: 1.14
It looks like a typecasting issue while passing the parameter to the LexActivator function. How to resolve this issue?
Also, raised the same issue in GitHub. Please find the following issue link: https://github.com/cryptlex/lexactivator-go/issues/1