Extensibility Samples

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.

Registering Windows Script and Binary COM Component Plugins on Vista with UAC Enabled

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:

  1. Run the command in elevated mode. Right click on "Command Prompt" and select "Run as Administrator".
  2. Navigate to the directory containing the plugin(s) that you want to register.
  3. Select one of the following:

STK Programming Interface 11.0.1