Inno Setup Unknown identifierSolved

After going through the steps in the help topic: using-turboactivate-with-inno-setup, when I try to compile the ISS file I get the error messages:

Unknown identifier taHandleUnknown identifier TA_OK

How should I declare these 2 variables?

Open the example in "API/Installers/Inno Setup" (after you download the TurboActivate for Windows package: https://wyday.com/limelm/api/#turboactivate).

Open the "TurboActivate.iss" file and you can search for taHandle, TA_OK and see where they should be defined.

Thanks for the help! This worked.But, for other people's benefit, I want to point out that the code snippets in the help document "using-turboactivate-with-inno-setup" are missing a whole bunch of const declarations.

We'll make it clearer it that you have to copy & paste a lot of constants from the example.

Hello, I think the consts arent still declarated in the help document "using-turboactivate-with-inno-setup".

Answer

The constants are in the Inno Setup “.iss” file.