Well, you'd still have to include TurboActivate.dll with your app if you want to use it in the installer/uninstaller. Inno Setup can't be compiled to use static libraries.
Yesterday I switched over to the static TA VS2010 libs and they work nicely. However, I'm also using InnoSetup, which I had previously configured to use your example code with TurboActivate.dll. Now that I'm not including TurboActivate.dll with my application, how would you suggest I access the necessary TurboActivate functions during installation (for example, to call CheckAndSavePKey while the installer has admin privileges)?
Well, you'd still have to include TurboActivate.dll with your app if you want to use it in the installer/uninstaller. Inno Setup can't be compiled to use static libraries.
Ok, then do you know if it would possible to use TurboActivate.dll during installation, but not install it as part of the application?
I'm pretty sure InnoSetup can do that. I don't know how off the top of my head.