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

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

Hi,

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