I am trying to load the Thomson Reuters com addin in a delphi application via the use of createoleobject and having trouble finding the com addins.
for i := 1 to Application.comaddins.Count do
begin
if (Application.comaddins[i].Name = addInReference) then
begin
Application.comaddins[i].installed := false;
Application.comaddins[i].installed := true;
end;
end;
I now get an error that application.comaddins[i].name is not a valid member where the addins worked correctly. I need help in accessing the comaddins object to ensure the com addin is activated in delphi.
Thanks in advance.