Specifics of add-in development using COM



Add-ins developed using COM technology do not have to be initially installed on the end-user computer. The AttachAddIn(<Location>,<Name>,<Type>) method gets the add-in file from the Infobase (provided that the file is stored in the Infobase) and calls the DllInstall function, which registers add-in objects. If the registration at the user side is unsuccessful, the DllRegisterServer function is called. If the user does not have enough access rights, add-in registration and attachment are not allowed. Developers must provide the possibility to register the add-in from a user account with their current rights. If the add-in has its own installer, the installation process must include the add-in registration for all of the computer users.

Next page: Preparing add-ins for working with the web client