Cryptlex Forums

Failed Compiling on Mac OS 10.12.6 and Run the Sample.cpp

Q
Q Suo

Error: No matching function for call to ‘SetProductFile’

  1. Candidate function not viable: no known conversion from ‘const wchar_t [12]’ to ‘CSTRTYPE’ (aka ‘const char *’) for 1st argument
    Error: No matching function for call to ‘SetVersionGUID’
  2. Candidate function not viable: no known conversion from ‘const wchar_t [37]’ to ‘CSTRTYPE’ (aka ‘const char *’) for 1st argument

    Same to SetTrialKey, SetProductKey and SetExtraActivationData
C
Cryptlex Support

Hi,

The example adds “L” to all the strings as required on Windows. Please remove the “L” from all the strings.

← Back to all topics · 2 posts · 931 views · opened 2018-03-17