interface IRoot: IDispatch { [id(0x00000001), helpstring("The About Dialog Displaying")] HRESULT _stdcall About( void ); [id(0x00000002), helpstring("Creates new object to handle a data source.")] HRESULT _stdcall CreateDataSource([out, retval] IDataSource ** result ); [id(0x00000003), helpstring("Returns reference to complete list of available drivers.")] HRESULT _stdcall GetDrivers([out, retval] IDrivers ** list ); }
The main object implements the IRoot interface and this is the only object you've to directly create. It can display the about dialog, create an object implementing the IDataSource interface and provides an object implementing the IDrivers interface.
Refer to your programming language manual how to create object implementing IRoot interface.
Early Binding With Delphi
var FRoot:IRoot;
begin Application.Initialize; FRoot:=CoRoot.Create;
Late Binding With Delphi
var FRoot:Variant;
begin Application.Initialize; FRoot:=CreateOleObject('Sequel.Root');
Late Binding With Visual Basic Script
Dim FRoot Set FRoot = CreateObject("Sequel.Root")