...get all installed components?

Author: Simon Grossenbacher
Homepage: http://www.swissdelphicenter.ch

Category: OpenTools API

{....}

uses ToolsApi;

{....}


var
  
a, i: Integer;
begin
  with 
(BorlandIDEServices as IOTAPackageServices) do
  begin
    for 
a := 0 to GetPackageCount - 1 do
    begin
      for 
i := 0 to GetComponentCount(a) - 1 do
      begin
        
{get each component name with GetComponentName(a, i);}
      
end;
    end;
  end;
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base