This is all from Delphi 5 .. but im sure other versions will be simular.
Thiers 2 methods.
(1) Open your project - from project menu option choose "import Type Library" . Choose create option. This will create a uoai_tlb.pas file and add it to your current project.
Add UOAI_TLB to the 'USES' declaration of any forms/files you need to use the UOAI object in . Under add Var UOAI : TUOAI , under YOUR initailzation code section add UOAI := Create(Self) ; (Generally procedure TForm1.FormCreate(Sender: TObject) )
(2) Start a New Project of Type Package.
From project menu from project menu option choose "import Type Library" . Choose Install option. Finish off by installing the package. This will add 2 components under the Active X tab of the component bar. UOAI UOitemList. Add these components to any form/file you need as normal.
NOTE: In both instances make sure the "Generate Component Wrapper' check box is checked on the import type library function. (I belive this is already defaulty checked)
Of course if goes without saying that this is access to the com object without all the frills of the .Net wrapper, so some functions would need to be implemented.
