Skip to content
  • There are no suggestions because the search field is empty.

How to I get my runtime license for my SLIK-DA control when developing in Visual C++ 6.0?

How to I get my runtime license for my SLIK-DA control when developing in Visual C++ 6.0?

When using Visual C++ 6.0 you will need to specify a runtime license to be able to run your application without licensing errors. 

Once you have licensed your machine, do the following:
  1. Run "GetRunTimeLicenseKey(&bstrKey)" to obtain your runtime-license key.
  2. Then either:
    1. Record the key returned and hard-code it into the CreateInstanceLic() function where the demo key is currently coded.
    2. Persist the returned key (as a global variable or something) and include that as the key in the CreateLicenseLic() function.
Either way, the idea is to replace the demo key ({F77A6059-C876-4945-B4EE-3605E63EE730})
with your runtime key. This is why GetRuntimeLicenseKey will only need to be called once.