I got Sample.cpp to compile and link on Ubuntu after replacing L"…" with “…” throughout.
When I run it, I get “Error code: 7” because there is no Product.dat file. Where can I find the Product.dat file that works with the GUID and TrialKey data included in Sample.cpp?