AGI provides a variety of ways to extend its products. For sample applications that demonstrate some of those technologies, see COM Plugin Samples. For sample plugin scripts that can be used as templates when developing your own scripts, see Script Samples.
Note: The code samples included in the STK install are read only. If you wish to work with one of the samples, you should copy the appropriate directory to an area on the local machine where you have write permissions, and then mark the files writable before trying to compile them.
If User Account Control (UAC) is enabled on Vista, and you attempt to register a Windows Script or binary COM Component plugin, you will receive the following error:
The module C:\Windows\<system32 or syswow64>\scrobj.dll was loaded but the call to DllRegisterServer failed with error code 0x80070005.
Use the following workaround to register the plugin:
STK Programming Interface 11.0.1